mirror of
https://github.com/Radarr/Radarr
synced 2026-01-07 08:08:17 +01:00
Fixed: Profiles always failing validation.
This commit is contained in:
parent
64e8fde0e1
commit
617c7bae83
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ public ProfileModule(IProfileService profileService, ICustomFormatService format
|
|||
{
|
||||
var all = _formatService.All().Select(f => f.Id).ToList();
|
||||
all.Add(CustomFormat.None.Id);
|
||||
var ids = items.Select(i => i.Id);
|
||||
var ids = items.Select(i => i.Format.Id);
|
||||
|
||||
return all.Except(ids).Empty();
|
||||
}).WithMessage("All Custom Formats and no extra ones need to be present inside your Profile! Try refreshing your browser.");
|
||||
|
|
@ -68,4 +68,4 @@ private List<ProfileResource> GetAll()
|
|||
return _profileService.All().ToResource();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue