feat: fix messaging worker
This commit is contained in:
parent
f6c7fdb8ed
commit
cb381bd3a3
4
.env
4
.env
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue