mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-07 03:29:29 +00:00
you page and switch users
This commit is contained in:
parent
3e405b795d
commit
3f496c57c4
17 changed files with 659 additions and 211 deletions
|
|
@ -32,7 +32,7 @@ AudiobookshelfApi audiobookshelfApi(AudiobookshelfApiRef ref, Uri? baseUrl) {
|
|||
throw ArgumentError.notNull('baseUrl');
|
||||
}
|
||||
return AudiobookshelfApi(
|
||||
baseUrl: baseUrl,
|
||||
baseUrl: makeBaseUrl(baseUrl.toString()),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ AudiobookshelfApi authenticatedApi(AuthenticatedApiRef ref) {
|
|||
throw StateError('No active user');
|
||||
}
|
||||
return AudiobookshelfApi(
|
||||
baseUrl: Uri.https(user.server.serverUrl.toString()),
|
||||
baseUrl: makeBaseUrl(user.server.serverUrl.toString()),
|
||||
token: user.authToken,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue