Skip to content

Commit

Permalink
Fix potential crash when getting username
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Feb 25, 2024
1 parent 219e7f4 commit 6b66e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Services/EpicAccountClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public string GetUsername()
username = tokens.displayName;
}
}
return tokens.displayName;
return username;
}

public async Task<bool> GetIsUserLoggedIn()
Expand Down

0 comments on commit 6b66e45

Please sign in to comment.