Skip to content

Commit

Permalink
Closes #3029
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Oct 18, 2023
1 parent 5d8826b commit bb1f02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArchiSteamFarm/Steam/Bot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3075,7 +3075,7 @@ private async void OnLoggedOn(SteamUser.LoggedOnCallback callback) {

ArchiWebHandler.OnVanityURLChanged(callback.VanityURL);

if (!await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce ?? throw new InvalidOperationException(nameof(callback.WebAPIUserNonce)), SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {
if (string.IsNullOrEmpty(callback.WebAPIUserNonce) || !await ArchiWebHandler.Init(SteamID, SteamClient.Universe, callback.WebAPIUserNonce, SteamParentalActive ? BotConfig.SteamParentalCode : null).ConfigureAwait(false)) {

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, generic-netf)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, generic-netf)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check warning on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check warning on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check warning on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check warning on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Debug, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / main (Release, windows-latest)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, generic-netf)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.

Check failure on line 3078 in ArchiSteamFarm/Steam/Bot.cs

View workflow job for this annotation

GitHub Actions / publish-asf (windows-latest, generic-netf)

Possible null reference argument for parameter 'webAPIUserNonce' in 'Task<bool> ArchiWebHandler.Init(ulong steamID, EUniverse universe, string webAPIUserNonce, string? parentalCode = null)'.
if (!await RefreshSession().ConfigureAwait(false)) {
return;
}
Expand Down

0 comments on commit bb1f02e

Please sign in to comment.