List<int> will be converted to json and stored in the DB

This commit is contained in:
Mark McDowall 2013-10-24 08:17:39 -07:00
parent 5150f9bd91
commit 1684ad6e16
1 changed files with 1 additions and 0 deletions

View File

@ -83,6 +83,7 @@ namespace NzbDrone.Core.Datastore
MapRepository.Instance.RegisterTypeConverter(typeof(Enum), new EnumIntConverter());
MapRepository.Instance.RegisterTypeConverter(typeof(Quality), new QualityIntConverter());
MapRepository.Instance.RegisterTypeConverter(typeof(Dictionary<string, string>), new EmbeddedDocumentConverter());
MapRepository.Instance.RegisterTypeConverter(typeof(List<int>), new EmbeddedDocumentConverter());
}
private static void RegisterProviderSettingConverter()