Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jan 9, 2025
1 parent 67f61c6 commit d02fedc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Fuyu.Backend.Core/Controllers/AccountGamesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public AccountGamesController() : base("/account/games")

public override Task RunAsync(CoreHttpContext context)
{
var sessionId = context.GetSessionId();
var sessionId = context.SessionId;
var result = _accountService.GetGames(sessionId);
var response = new AccountGamesResponse()
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.Core/Controllers/AccountLogoutController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public AccountLogoutController() : base("/account/logout")

public override Task RunAsync(CoreHttpContext context)
{
var sessionId = context.GetSessionId();
var sessionId = context.SessionId;
CoreOrm.Instance.RemoveSession(sessionId);

return context.SendJsonAsync("{}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public AccountRegisterGameController() : base("/account/register/game")

public override Task RunAsync(CoreHttpContext context, AccountRegisterGameRequest request)
{
var sessionId = context.GetSessionId();
var sessionId = context.SessionId;
var result = _accountService.RegisterGame(sessionId, request.Game, request.Edition);

return context.SendJsonAsync(Json.Stringify(result));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public GameProfileVoiceChangeController() : base("/client/game/profile/voice/cha

public override Task RunAsync(EftHttpContext context, GameProfileVoiceChangeRequest body)
{
var profile = _eftOrm.GetActiveProfile(context.GetSessionId());
var profile = _eftOrm.GetActiveProfile(context.SessionId);

profile.Pmc.Info.Voice = body.Voice;

Expand Down

0 comments on commit d02fedc

Please sign in to comment.