1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-21 13:37:19 +00:00

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

View file

@ -83,6 +83,7 @@ private static void RegisterMappers()
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()