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;