mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-20 20:00:48 +02:00
Fixed: Add Indexer modal fails due to null encoding
This commit is contained in:
parent
c6c1644d00
commit
183a8f69d7
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ public override IndexerResource ToResource(IndexerDefinition definition)
|
|||
resource.BaseUrl = definition.BaseUrl;
|
||||
resource.Description = definition.Description;
|
||||
resource.Language = definition.Language;
|
||||
resource.Encoding = definition.Encoding.EncodingName;
|
||||
resource.Encoding = definition.Encoding?.EncodingName ?? null;
|
||||
resource.Enable = definition.Enable;
|
||||
resource.Redirect = definition.Redirect;
|
||||
resource.SupportsRss = definition.SupportsRss;
|
||||
|
|
|
|||
Loading…
Reference in a new issue