mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
13 lines
307 B
Dart
13 lines
307 B
Dart
part of sonarr_commands;
|
|
|
|
Future<SonarrCommand> _commandRefreshSeries(
|
|
Dio client, {
|
|
int? seriesId,
|
|
}) async {
|
|
Response response = await client.post('command', data: {
|
|
'name': 'RefreshSeries',
|
|
if (seriesId != null) 'seriesId': seriesId,
|
|
});
|
|
return SonarrCommand.fromJson(response.data);
|
|
}
|