mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] HttpAuthCoreProvider (#603)
This commit is contained in:
parent
2d9037fedc
commit
9bac9e3bef
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ public AuthManager.AuthReport refreshAccessToken(String refreshToken, AuthRespon
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return requester.send(requester.post(refreshTokenUrl, new RefreshTokenRequest(refreshToken, context),
|
return requester.send(requester.post(refreshTokenUrl, new RefreshTokenRequest(refreshToken, context),
|
||||||
null), AuthManager.AuthReport.class).getOrThrow();
|
null), HttpAuthReport.class).getOrThrow().toAuthReport();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
logger.error(e);
|
logger.error(e);
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue