Skip to content
This repository has been archived by the owner on Aug 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #46 from ST-Apps/master
Browse files Browse the repository at this point in the history
Repos update from ST-Apps
  • Loading branch information
DarkAngelFR authored Aug 30, 2016
2 parents 913009d + 8ce7d34 commit e0db5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PokemonGoAPI/Session/ApiFailureStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public async Task<ApiOperation> HandleApiFailure(string[] url, RequestEnvelope r
// Invalid auth
Logger.Write("Received StatusCode 102, reauthenticating.");
OnFailureToggleUpdateTimer?.Invoke(false);
_client.AccessToken.Expire();
_client.AccessToken?.Expire();
await Reauthenticate();
request.AuthTicket = _client.AuthTicket;
OnFailureToggleUpdateTimer?.Invoke(true);
Expand Down

0 comments on commit e0db5c8

Please sign in to comment.