Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Fixes episodesRange and seasonsRange being switched
Browse files Browse the repository at this point in the history
  • Loading branch information
redbaty committed Nov 21, 2023
1 parent b824998 commit 0ca785c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Wasari.Cli/Commands/DownloadCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public async ValueTask ExecuteAsync(IConsole console)
var downloadService = serviceProvider.GetRequiredService<DownloadServiceSolver>();
var episodesRange = ParseRange(EpisodeRange);
var seasonsRange = ParseRange(SeasonsRange);
var downloadedEpisodes = await downloadService.GetService(Url).DownloadEpisodes(Url.ToString(), LevelOfParallelism, new DownloadEpisodeOptions(seasonsRange, episodesRange, null));
var downloadedEpisodes = await downloadService.GetService(Url).DownloadEpisodes(Url.ToString(), LevelOfParallelism, new DownloadEpisodeOptions(episodesRange, seasonsRange, null));

if (serviceProvider.GetService<NotificationService>() is { } notificationService) await notificationService.SendNotifcationForDownloadedEpisodeAsync(downloadedEpisodes);
}
Expand Down

0 comments on commit 0ca785c

Please sign in to comment.