1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00
This commit is contained in:
prateek banga 2023-11-16 01:33:05 +05:30
parent c24664f5d9
commit 549dcc493d
2 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@ class Messaging extends Event
protected ?array $recipients = null;
protected ?string $deliveryTime = null;
protected ?string $providerType = null;
public function __construct(protected Connection $connection)
{
@ -170,4 +170,4 @@ class Messaging extends Event
'providerType' => $this->providerType,
]);
}
}
}

View file

@ -77,7 +77,7 @@ class Messaging extends Action
}
}
private function processMessage(Database $dbForProject, Document $message): void
{
@ -228,7 +228,7 @@ class Messaging extends Action
private function processInternalSMSMessage(Document $message, array $recipients): void
{
if(empty(App::getEnv('_APP_SMS_PROVIDER')) || empty(App::getEnv('_APP_SMS_FROM'))) {
if (empty(App::getEnv('_APP_SMS_PROVIDER')) || empty(App::getEnv('_APP_SMS_FROM'))) {
Console::info('Skipped SMS processing. No Phone configuration has been set.');
return;
}