Give token earlier

This commit is contained in:
Pat Hartl 2023-01-06 22:06:53 -06:00
parent 2a92e49ee9
commit 6ca7661595

View file

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