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 a4b81ae4..27d9c5de 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 @@ -125,7 +125,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;