Skip to content

Commit

Permalink
[Mailer][Brevo] Remove tags from mandatory event arguments
Browse files Browse the repository at this point in the history
'tags' in not mandatory part of an event
therefore it got removed from the validation process
  • Loading branch information
palgalik committed Feb 27, 2024
1 parent 3e296f1 commit dfb41cd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ protected function doParse(Request $request, #[\SensitiveParameter] string $secr
|| !isset($content['email'])
|| !isset($content['message-id'])
|| !isset($content['ts_event'])
|| !isset($content['tags'])
) {
throw new RejectWebhookException(406, 'Payload is malformed.');
}
Expand Down

0 comments on commit dfb41cd

Please sign in to comment.