mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
chore: Implement a fake response for testing (#202)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
5b781cf642
commit
d60fec405a
6 changed files with 729 additions and 27 deletions
|
|
@ -14,8 +14,7 @@ part 'api_provider.g.dart';
|
|||
@riverpod
|
||||
class JellyApi extends _$JellyApi {
|
||||
@override
|
||||
JellyService build() {
|
||||
return JellyService(
|
||||
JellyService build() => JellyService(
|
||||
ref,
|
||||
JellyfinOpenApi.create(
|
||||
interceptors: [
|
||||
|
|
@ -23,8 +22,8 @@ class JellyApi extends _$JellyApi {
|
|||
JellyResponse(ref),
|
||||
HttpLoggingInterceptor(level: Level.basic),
|
||||
],
|
||||
));
|
||||
}
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
class JellyRequest implements Interceptor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue