mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-02 09:40:55 +02:00
Fixed: (Cardigann) Requests Failing for Definitions without LegacyLinks
This commit is contained in:
parent
95f62be50c
commit
a0d5421dc8
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ protected string ResolveSiteLink()
|
|||
return defaultLink;
|
||||
}
|
||||
|
||||
if (_definition.Legacylinks.Contains(settingsBaseUrl))
|
||||
if (_definition?.Legacylinks?.Contains(settingsBaseUrl) ?? false)
|
||||
{
|
||||
_logger.Trace("Changing legacy site link from {0} to {1}", settingsBaseUrl, defaultLink);
|
||||
return defaultLink;
|
||||
|
|
|
|||
Loading…
Reference in a new issue