Skip to content

Commit 182e93e

Browse files
committed
bug symfony#54089 [Mailer] [Brevo] Remove tags from mandatory event arguments (palgalik)
This PR was merged into the 6.4 branch. Discussion ---------- [Mailer] [Brevo] Remove tags from mandatory event arguments 'tags' in not mandatory part of an event therefore it got removed from the validation process | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix [54088](symfony#54088) | License | MIT Commits ------- dfb41cd [Mailer][Brevo] Remove tags from mandatory event arguments
2 parents 3e296f1 + dfb41cd commit 182e93e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Symfony/Component/Mailer/Bridge/Brevo/Webhook/BrevoRequestParser.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ protected function doParse(Request $request, #[\SensitiveParameter] string $secr
4949
|| !isset($content['email'])
5050
|| !isset($content['message-id'])
5151
|| !isset($content['ts_event'])
52-
|| !isset($content['tags'])
5352
) {
5453
throw new RejectWebhookException(406, 'Payload is malformed.');
5554
}

0 commit comments

Comments
 (0)