Исправлена ошибка синхронизации

This commit is contained in:
Mikhail Kuznetsov
2023-09-14 15:56:17 +10:00
parent ead8117353
commit 09996a5c18
2 changed files with 6 additions and 6 deletions

View File

@@ -101,12 +101,12 @@ namespace PARR.EsppTemplateSync.Services
) continue; ) continue;
var parrValue = template.GetType().GetProperty(prop.Name)?.GetValue(template, null); var parrValue = template.GetType().GetProperty(prop.Name)?.GetValue(template, null);
var esppValue = esppTemplate.GetType().GetProperty(prop.Name)?.GetValue(template, null); var esppValue = esppTemplate.GetType().GetProperty(prop.Name)?.GetValue(esppTemplate, null);
if (parrValue == null || esppValue == null) continue; if (parrValue == null || esppValue == null) continue;
if (parrValue!.ToString()!.ToLower().Equals( if (parrValue!.ToString()!.ToLower() !=
esppValue!.ToString()!.ToLower()) esppValue!.ToString()!.ToLower()
) )
{ {
isChanged = true; isChanged = true;

File diff suppressed because one or more lines are too long