Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/recyclarr/commit/b759b26bd7c1fac4d880b80e8c1a452bfc41463f You should set ROOT_URL correctly, otherwise the web may not work correctly.

refactor(sonarr): Use record 'with' for partial update

pull/76/head
Robert Dailey 3 years ago
parent 59dc2568ca
commit b759b26bd7

@ -73,11 +73,8 @@ public class ReleaseProfileDataFilterer
if (profileFilter.Include.Any())
{
_log.Debug("Using inclusion filter");
return new ReleaseProfileData
return selectedProfile with
{
TrashId = selectedProfile.TrashId,
Name = selectedProfile.Name,
IncludePreferredWhenRenaming = selectedProfile.IncludePreferredWhenRenaming,
Required = IncludeTerms(selectedProfile.Required, profileFilter.Include),
Ignored = IncludeTerms(selectedProfile.Ignored, profileFilter.Include),
Preferred = IncludeTerms(selectedProfile.Preferred, profileFilter.Include)
@ -87,11 +84,8 @@ public class ReleaseProfileDataFilterer
if (profileFilter.Exclude.Any())
{
_log.Debug("Using exclusion filter");
return new ReleaseProfileData
return selectedProfile with
{
TrashId = selectedProfile.TrashId,
Name = selectedProfile.Name,
IncludePreferredWhenRenaming = selectedProfile.IncludePreferredWhenRenaming,
Required = ExcludeTerms(selectedProfile.Required, profileFilter.Exclude),
Ignored = ExcludeTerms(selectedProfile.Ignored, profileFilter.Exclude),
Preferred = ExcludeTerms(selectedProfile.Preferred, profileFilter.Exclude)

Loading…
Cancel
Save