From a3b33ab7461eea9202857efc8bb07a9f64db3b41 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Mon, 29 Jan 2024 15:56:07 +0000 Subject: [PATCH] chore: update var_dump --- src/Appwrite/Platform/Workers/Messaging.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index a6d97e6098..09e77c01ca 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -53,6 +53,8 @@ class Messaging extends Action */ public function action(Message $message): void { + var_dump($message); + $payload = $message->getPayload() ?? []; if (empty($payload)) { @@ -70,8 +72,6 @@ class Messaging extends Action return; } - var_dump($payload['project']); - $sms = match ($this->dsn->getHost()) { 'mock' => new Mock($this->user, $this->secret), // used for tests 'twilio' => new Twilio($this->user, $this->secret),