mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-01-11 22:40:36 +00:00
Remove incorrect expiresIn calculation in `OAuth.fromJson`. The `login()` function of the MyAnimeList class already sets expiresIn as an absolute timestamp in milliseconds. Multiplying by 1000 and adding the current timestamp in fromJson caused expiresIn to be inflated, making the expiration check in `_getAccessToken()` always false, skipping token refresh and returning an invalid token. |
||
|---|---|---|
| .. | ||
| anime | ||
| browse | ||
| history | ||
| library | ||
| main_view | ||
| manga | ||
| more | ||
| novel | ||
| updates | ||
| webview | ||
| widgets | ||