fix: Whoops

This commit is contained in:
ziro 2024-01-28 11:22:33 +07:00
parent c8c71cb44e
commit 2902f89139
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -44,7 +44,7 @@ class MyAnimeListInterceptor(private val myanimelist: MyAnimeList) : Interceptor
* Called when the user authenticates with MyAnimeList for the first time. Sets the refresh token * Called when the user authenticates with MyAnimeList for the first time. Sets the refresh token
* and the oauth object. * and the oauth object.
*/ */
fun setAuth(oauth: OAuth) { fun setAuth(oauth: OAuth?) {
this.oauth = oauth this.oauth = oauth
myanimelist.saveOAuth(oauth) myanimelist.saveOAuth(oauth)
} }