1
0
Fork 0
mirror of synced 2024-09-30 09:18:14 +13:00
This commit is contained in:
prateek banga 2023-09-05 23:10:33 +05:30
parent 00498f0ae2
commit 38d81c058b
5 changed files with 8 additions and 8 deletions

View file

@ -91,7 +91,7 @@ class MessagingV1 extends Worker
$message = new Document($this->args['message']);
$providerId = $message->getAttribute('providerId');
$providerRecord =$dbForProject->getDocument('providers', $providerId);
$providerRecord = $dbForProject->getDocument('providers', $providerId);
$provider = match ($providerRecord->getAttribute('type')) {//stubbbbbbed.
'sms' => $this->sms($providerRecord),

View file

@ -743,7 +743,7 @@ class AccountCustomClientTest extends Scope
public function testCreatePhone(): array
{
$number = '+123456789';
$response = $this->client->call(Client::METHOD_POST, '/messaging/providers/general' , \array_merge([
$response = $this->client->call(Client::METHOD_POST, '/messaging/providers/general', \array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-key' => $this->getProject()['apiKey'],