We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ca73ae + b1cab41 commit e3444b9Copy full SHA for e3444b9
src/NoFrixion.MoneyMoov/Models/WebHook/WebhookCreate.cs
@@ -47,6 +47,11 @@ public IEnumerable<ValidationResult> Validate(ValidationContext validationContex
47
{
48
yield return new ValidationResult($"The Secret string was too long. The Secret maximum length is {SECRET_MAX_LENGTH} characters.");
49
}
50
+
51
+ if (Type == WebhookResourceTypesEnum.None)
52
+ {
53
+ yield return new ValidationResult("Can not create webhook with type none.");
54
+ }
55
56
57
public Dictionary<string, string> ToDictionary()
0 commit comments