Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Typo on payload key #58399

Copy link
Copy link
Closed
Closed
Copy link
@salvatorepandolfi

Description

@salvatorepandolfi
Issue body actions

Symfony version(s) affected

7.x

Description

on line 42 file RemoteEvent/SendgridPayloadConverter.php:
default => throw new ParseException(sprintf('Unsupported event "%s".', $payload['unsubscribe'])),
there's no array key named unsubscribed, the correct key should be event

How to reproduce

receive a webhook from sendgrid for a group_unsubscribed event

Possible Solution

replace $payload['unsubscribe'] with $payload['event'] on line 42

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.