This commit is contained in:
2018-09-06 15:42:23 +00:00
parent 1382d6c7ce
commit 8f3e3adea7

View File

@@ -30,6 +30,7 @@ namespace AyaNova.Biz
ProtectedProperties = protectedProperties.Split(new char[1] { ',' }, StringSplitOptions.RemoveEmptyEntries); ProtectedProperties = protectedProperties.Split(new char[1] { ',' }, StringSplitOptions.RemoveEmptyEntries);
} }
if (ProtectedProperties != null)
foreach (string Property in ProtectedProperties) foreach (string Property in ProtectedProperties)
{ {
if (objectPatch.Operations.Any(m => m.path == $"/{Property.ToLowerInvariant()}")) if (objectPatch.Operations.Any(m => m.path == $"/{Property.ToLowerInvariant()}"))