mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
chore(refactor): move API models, types, controllers to root of module API
[skip ci]
This commit is contained in:
13
lib/api/sonarr/controllers/queue/delete_queue.dart
Normal file
13
lib/api/sonarr/controllers/queue/delete_queue.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
part of sonarr_commands;
|
||||
|
||||
Future<void> _commandDeleteQueue(
|
||||
Dio client, {
|
||||
required int id,
|
||||
bool? removeFromClient,
|
||||
bool? blocklist,
|
||||
}) async {
|
||||
await client.delete('queue/$id', queryParameters: {
|
||||
if (removeFromClient != null) 'removeFromClient': removeFromClient,
|
||||
if (blocklist != null) 'blocklist': blocklist,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user