Fixed: Improve More Info links for Indexers, download clients, etc
This commit is contained in:
parent
a7a3c546e5
commit
38feeefea3
|
@ -119,8 +119,7 @@ namespace NzbDrone.Api
|
|||
|
||||
resource.Fields = SchemaBuilder.ToSchema(definition.Settings);
|
||||
|
||||
resource.InfoLink = string.Format("https://wiki.servarr.com/sonarr/supported#{0}",
|
||||
definition.Implementation.ToLower());
|
||||
resource.InfoLink = $"https://wiki.servarr.com/sonarr/supported#{definition.Implementation.ToLower()}";
|
||||
}
|
||||
|
||||
protected virtual void MapToModel(TProviderDefinition definition, TProviderResource resource)
|
||||
|
|
|
@ -39,9 +39,7 @@ namespace Sonarr.Api.V3
|
|||
Tags = definition.Tags,
|
||||
Fields = SchemaBuilder.ToSchema(definition.Settings),
|
||||
|
||||
InfoLink = string.Format("https://wiki.servarr.com/sonarr/supported#{0}",
|
||||
typeof(TProviderResource).Name.Replace("Resource", "s"),
|
||||
definition.Implementation.ToLower())
|
||||
InfoLink = $"https://wiki.servarr.com/sonarr/supported#{definition.Implementation.ToLower()}"
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue