File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,17 @@ public static void Init(ServerManager serverManager)
26
26
27
27
protected override void RefreshTokenAndCompleteCall ( ServerRequest cacheServerRequest , Action < LootLockerResponse > OnServerResponse )
28
28
{
29
+ if ( activeConfig != null && activeConfig . platform == LootLockerGenericConfig . platformType . Steam )
30
+ {
31
+ Debug . LogError ( "Token has expired, And token refresh not supported in Steam calls" ) ;
32
+ LootLockerResponse res = new LootLockerResponse ( ) ;
33
+ res . statusCode = 401 ;
34
+ res . Error = "Token Expired" ;
35
+ res . hasError = true ;
36
+ OnServerResponse ? . Invoke ( res ) ;
37
+ return ;
38
+ }
39
+
29
40
var sessionRequest = new SessionRequest ( activeConfig . deviceID ) ;
30
41
31
42
LootLockerAPIManager . Session ( sessionRequest , ( response ) =>
You can’t perform that action at this time.
0 commit comments