mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Fixed build
This commit is contained in:
parent
63b8eb639f
commit
948e1dad3a
1 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue