mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 07:46:05 -07:00
small fix
This commit is contained in:
parent
4f71969ee5
commit
a5cbd5dfd6
1 changed files with 6 additions and 3 deletions
|
@ -536,9 +536,12 @@ namespace PlexRequests.UI.Modules
|
|||
{
|
||||
// Get the JSON from the request
|
||||
var req = (Dictionary<string, object>.ValueCollection)Request.Form.Values;
|
||||
EpisodeRequestModel episodeModel = null;
|
||||
if (req.Count == 1)
|
||||
{
|
||||
var json = req.FirstOrDefault()?.ToString();
|
||||
var episodeModel = JsonConvert.DeserializeObject<EpisodeRequestModel>(json); // Convert it into the object
|
||||
|
||||
episodeModel = JsonConvert.DeserializeObject<EpisodeRequestModel>(json); // Convert it into the object
|
||||
}
|
||||
var episodeRequest = false;
|
||||
|
||||
var settings = await PrService.GetSettingsAsync();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue