Give token earlier

dashboard
Pat Hartl 2023-01-06 22:06:53 -06:00
parent 2a92e49ee9
commit 6ca7661595
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,8 @@ namespace LANCommander.Playnite.Extension
RefreshToken = Settings.RefreshToken, RefreshToken = Settings.RefreshToken,
}; };
LANCommander.Token = token;
var tokenIsValid = LANCommander.ValidateToken(token); var tokenIsValid = LANCommander.ValidateToken(token);
if (!tokenIsValid) if (!tokenIsValid)