diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index b824341f07..85cc110d06 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -410,7 +410,7 @@ class Messaging extends Action 'msg91' => [ 'senderId' => $user, 'authKey' => $password, - 'templateId' => $smsDSN->getParam('templateId'), + 'templateId' => $smsDSN->getParam('templateId', $from), ], 'vonage' => [ 'apiKey' => $user,