mirror of
https://github.com/Radarr/Radarr
synced 2025-01-01 21:04:22 +00:00
Fix mapper exception
This commit is contained in:
parent
65287ec4f3
commit
8021381de2
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Dapper;
|
||||
using NzbDrone.Common.Reflection;
|
||||
using NzbDrone.Core.Authentication;
|
||||
|
@ -171,7 +172,8 @@ private static void RegisterMappers()
|
|||
|
||||
private static void RegisterProviderSettingConverter()
|
||||
{
|
||||
var settingTypes = typeof(IProviderConfig).Assembly.ImplementationsOf<IProviderConfig>();
|
||||
var settingTypes = typeof(IProviderConfig).Assembly.ImplementationsOf<IProviderConfig>()
|
||||
.Where(x => !x.ContainsGenericParameters);
|
||||
|
||||
var providerSettingConverter = new ProviderSettingConverter();
|
||||
foreach (var embeddedType in settingTypes)
|
||||
|
|
Loading…
Reference in a new issue