diff --git a/src/Appwrite/Platform/Workers/Messaging.php b/src/Appwrite/Platform/Workers/Messaging.php index 1f90c355b5..510fec0431 100644 --- a/src/Appwrite/Platform/Workers/Messaging.php +++ b/src/Appwrite/Platform/Workers/Messaging.php @@ -493,7 +493,7 @@ class Messaging extends Action $credentials['accountSid'] ?? '', $credentials['authToken'] ?? '', null, - !empty($credentials['messagingServiceSid']) ? $credentials['messagingServiceSid'] : null + $credentials['messagingServiceSid'] ?? null ), 'textmagic' => new TextMagic( $credentials['username'] ?? '',