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),