Skip to content

Commit 28473a3

Browse files
authored
Correct mappings validator clause
1 parent 4a55dc3 commit 28473a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Forms.Integrations.Commerce.EMerchantPay/Services/MappingService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public bool TryParse(string mappings, out List<Mapping> result)
3535

3636
result = JsonConvert.DeserializeObject<List<Mapping>>(mappings);
3737

38-
return result.Count == configMappings.Count() + 1 && result.Any(p => p.CustomerProperty == nameof(MappingValues.Email));
38+
return result.Count == configMappings.Count() && result.Any(p => p.CustomerProperty == nameof(MappingValues.Email));
3939
}
4040
}
4141
}

0 commit comments

Comments
 (0)