From 58984f11a678774ac28bee4d6acdfaf9dd3be725 Mon Sep 17 00:00:00 2001 From: Clercq Date: Wed, 10 Aug 2022 01:01:33 +0300 Subject: [PATCH] bugfix --- .../pro/gravit/launchserver/auth/core/HttpAuthCoreProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/HttpAuthCoreProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/HttpAuthCoreProvider.java index 21b5b6b0..ad8111c6 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/HttpAuthCoreProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/core/HttpAuthCoreProvider.java @@ -113,7 +113,7 @@ public AuthManager.AuthReport refreshAccessToken(String refreshToken, AuthRespon } try { return requester.send(requester.post(refreshTokenUrl, new RefreshTokenRequest(refreshToken, context), - null), AuthManager.AuthReport.class).getOrThrow(); + null), HttpAuthReport.class).getOrThrow().toAuthReport(); } catch (IOException e) { logger.error(e); return null;