mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 09:42:56 -07:00
Fixed #514 and the unit tests
This commit is contained in:
parent
2e22ad946d
commit
65c3721f12
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ namespace PlexRequests.Helpers.Tests
|
||||||
"ProviderId", "ImdbId", "TvDbId", "Overview", "Title", "PosterPath", "ReleaseDate", "Type",
|
"ProviderId", "ImdbId", "TvDbId", "Overview", "Title", "PosterPath", "ReleaseDate", "Type",
|
||||||
"Status", "Approved", "RequestedBy", "RequestedDate", "Available", "Issues", "OtherMessage", "AdminNote",
|
"Status", "Approved", "RequestedBy", "RequestedDate", "Available", "Issues", "OtherMessage", "AdminNote",
|
||||||
"SeasonList", "SeasonCount", "SeasonsRequested", "MusicBrainzId", "RequestedUsers","ArtistName",
|
"SeasonList", "SeasonCount", "SeasonsRequested", "MusicBrainzId", "RequestedUsers","ArtistName",
|
||||||
"ArtistId","IssueId","Episodes","AllUsers","CanApprove","Id"
|
"ArtistId","IssueId","Episodes", "Denied", "DeniedReason", "AllUsers","CanApprove","Id",
|
||||||
}).SetName("Requested Model");
|
}).SetName("Requested Model");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,7 +93,7 @@ namespace PlexRequests.UI.Helpers
|
||||||
|
|
||||||
// Get the series that was just added
|
// Get the series that was just added
|
||||||
series = await GetSonarrSeries(sonarrSettings, model.ProviderId);
|
series = await GetSonarrSeries(sonarrSettings, model.ProviderId);
|
||||||
series.monitored = false; // Un-monitor the series
|
series.monitored = true; // We want to make sure we are monitoring the series
|
||||||
|
|
||||||
// Un-monitor all seasons
|
// Un-monitor all seasons
|
||||||
foreach (var season in series.seasons)
|
foreach (var season in series.seasons)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue