Files
lunasea/lib/api/sonarr/controllers/command/refresh_series.dart
2022-08-29 22:59:37 -04:00

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);
}