diff --git a/src/Appwrite/Platform/Workers/Webhooks.php b/src/Appwrite/Platform/Workers/Webhooks.php index e7843ffc20..ab6e1e6270 100644 --- a/src/Appwrite/Platform/Workers/Webhooks.php +++ b/src/Appwrite/Platform/Workers/Webhooks.php @@ -60,6 +60,7 @@ class Webhooks extends Action throw new Exception('Missing payload'); } var_dump($project); + $events = $payload['events']; $webhookPayload = json_encode($payload['payload']); $user = new Document($payload['user'] ?? []);