From 12eb3b4eea15b33db0ed2e35ecf241b9679ee9bb Mon Sep 17 00:00:00 2001 From: shimon Date: Mon, 3 Mar 2025 10:47:28 +0200 Subject: [PATCH] debug --- src/Appwrite/Platform/Workers/Webhooks.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Appwrite/Platform/Workers/Webhooks.php b/src/Appwrite/Platform/Workers/Webhooks.php index ab6e1e6270..578e14a61b 100644 --- a/src/Appwrite/Platform/Workers/Webhooks.php +++ b/src/Appwrite/Platform/Workers/Webhooks.php @@ -59,7 +59,12 @@ class Webhooks extends Action if (empty($payload)) { throw new Exception('Missing payload'); } - var_dump($project); + var_dump([ + 'id' => $project->getId(), + 'webhooks' => $project->getAttribute('webhooks'), + 'region' => $project->getAttribute('region'), + ] + ); $events = $payload['events']; $webhookPayload = json_encode($payload['payload']);