Fixed build

pull/2277/head
Jamie Rees 7 years ago
parent 63b8eb639f
commit 948e1dad3a

@ -132,14 +132,14 @@ namespace Ombi.Core.Senders
else
{
int.TryParse(s.QualityProfile, out qualityToUse);
}
if (model.ParentRequest.QualityOverride.HasValue)
{
// Get the root path from the rootfolder selected.
// For some reason, if we haven't got one use the first root folder in Sonarr
// TODO make this overrideable via the UI
rootFolderPath = await GetSonarrRootPath(model.ParentRequest.RootFolder ?? int.Parse(s.RootPath), s);
}
if (model.ParentRequest.QualityOverride.HasValue)
{
qualityToUse = model.ParentRequest.QualityOverride.Value;
}

Loading…
Cancel
Save