mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: fix messaging worker
This commit is contained in:
@@ -56,8 +56,8 @@ _APP_SMTP_PORT=1025
|
||||
_APP_SMTP_SECURE=
|
||||
_APP_SMTP_USERNAME=
|
||||
_APP_SMTP_PASSWORD=
|
||||
_APP_PHONE_PROVIDER=phone://mock
|
||||
_APP_PHONE_FROM=
|
||||
_APP_PHONE_PROVIDER=phone://ACa8fbb190679c054b3e322b803d4840aa:bd8e0c8c6ebee4a1ccd93f8fd4ea7ac3@twilio
|
||||
_APP_PHONE_FROM=+19705729656
|
||||
_APP_STORAGE_LIMIT=30000000
|
||||
_APP_STORAGE_PREVIEW_LIMIT=20000000
|
||||
_APP_FUNCTIONS_SIZE_LIMIT=30000000
|
||||
|
||||
@@ -49,7 +49,7 @@ class MessagingV1 extends Worker
|
||||
return;
|
||||
}
|
||||
|
||||
if (!$this->from) {
|
||||
if (empty($this->from)) {
|
||||
Console::info('Skipped sms processing. No phone number has been set.');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user