mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 13:24:39 +02:00
Update iOS ApiClient to handle token refresh
This commit is contained in:
@@ -404,6 +404,7 @@ class ApiHandler(var ctx:Context) {
|
||||
errorObj.put("error", "Authentication failed - please login again")
|
||||
callback(errorObj)
|
||||
|
||||
// TODO: Notify webview frontend
|
||||
} catch (e: Exception) {
|
||||
Log.e(tag, "handleRefreshFailure: Error during failure handling", e)
|
||||
val errorObj = JSObject()
|
||||
|
||||
Reference in New Issue
Block a user