Skip to content

Commit

Permalink
Fixed mail logs api endpoint schema required
Browse files Browse the repository at this point in the history
one of optional parameters `mail_template_ids`
and `mail_template_codes`

remp/respekt#211
  • Loading branch information
zoldia committed May 24, 2024
1 parent 2ee90bc commit a860537
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,16 @@
},
{
"oneOf": [
{ "not": {"required": ["mail_template_ids"]} },
{ "not": {"required": ["mail_template_codes"]} }
{"required": ["mail_template_ids"]},
{"required": ["mail_template_codes"]},
{
"not": {
"anyOf": [
{"required": ["mail_template_ids"]},
{"required": ["mail_template_codes"]}
]
}
}
]
}
],
Expand Down

0 comments on commit a860537

Please sign in to comment.