new validation logic

This commit is contained in:
2022-01-24 00:08:44 +01:00
parent d691b538b4
commit 70f73baa86
21 changed files with 196 additions and 124 deletions
@@ -151,7 +151,7 @@ public class IntegrationStore : IIntegrationStore
/// <inheritdoc />
protected virtual async Task<Result<Integration>> Save(Integration model, bool create = false)
{
return await Operations.Create(model, async (x, ctx) => await Validate(x, create));
return await Operations.Create(model, async x => await Validate(x, create));
}
}