mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix enum parser
This commit is contained in:
@@ -182,7 +182,7 @@ namespace Podsync.Services.Storage
|
||||
var propertyType = typeof(P);
|
||||
if (propertyType.GetTypeInfo().IsEnum)
|
||||
{
|
||||
value = (P)Enum.Parse(propertyType, entry.Value);
|
||||
value = (P)Enum.Parse(propertyType, entry.Value, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user