lint fix
This commit is contained in:
parent
00498f0ae2
commit
38d81c058b
5 changed files with 8 additions and 8 deletions
|
@ -91,7 +91,7 @@ class MessagingV1 extends Worker
|
||||||
$message = new Document($this->args['message']);
|
$message = new Document($this->args['message']);
|
||||||
|
|
||||||
$providerId = $message->getAttribute('providerId');
|
$providerId = $message->getAttribute('providerId');
|
||||||
$providerRecord =$dbForProject->getDocument('providers', $providerId);
|
$providerRecord = $dbForProject->getDocument('providers', $providerId);
|
||||||
|
|
||||||
$provider = match ($providerRecord->getAttribute('type')) {//stubbbbbbed.
|
$provider = match ($providerRecord->getAttribute('type')) {//stubbbbbbed.
|
||||||
'sms' => $this->sms($providerRecord),
|
'sms' => $this->sms($providerRecord),
|
||||||
|
|
|
@ -743,7 +743,7 @@ class AccountCustomClientTest extends Scope
|
||||||
public function testCreatePhone(): array
|
public function testCreatePhone(): array
|
||||||
{
|
{
|
||||||
$number = '+123456789';
|
$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',
|
'content-type' => 'application/json',
|
||||||
'x-appwrite-project' => $this->getProject()['$id'],
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
'x-appwrite-key' => $this->getProject()['apiKey'],
|
'x-appwrite-key' => $this->getProject()['apiKey'],
|
||||||
|
|
Loading…
Reference in a new issue