1
0
Fork 0
mirror of synced 2024-10-02 02:07:04 +13:00

Merge branch 'providers-from-attribute' of https://github.com/appwrite/appwrite into review-changes-1.5.x

This commit is contained in:
prateek banga 2023-10-26 00:03:13 +05:30
commit 456654c165

View file

@ -1234,7 +1234,8 @@ trait UsersBase
], $this->getHeaders()), [
'providerId' => 'unique()',
'name' => 'Sengrid1',
'apiKey' => 'my-apikey'
'apiKey' => 'my-apikey',
'from' => 'from@domain.com',
]);
$this->assertEquals(201, $provider['headers']['status-code']);
$response = $this->client->call(Client::METHOD_POST, '/users/' . $data['userId'] . '/targets', array_merge([