From c728d9bc8e07fd0431ffa2924158fe99052303e3 Mon Sep 17 00:00:00 2001 From: prateek banga Date: Thu, 16 Nov 2023 01:36:22 +0530 Subject: [PATCH] lint fix --- src/Appwrite/Platform/Workers/Messaging.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index 2283770e09..299ef4526f 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -77,8 +77,6 @@ class Messaging extends Action } } - - private function processMessage(Database $dbForProject, Document $message): void { $topicsId = $message->getAttribute('topics', []); @@ -273,6 +271,7 @@ class Messaging extends Action 'from' => $from ] ]); + $adapter = $this->sms($provider); $maxBatchSize = $adapter->getMaxMessagesPerRequest();