1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

feat: accounts test

This commit is contained in:
Christy Jacob 2022-08-15 12:13:09 +05:30
parent 26634cdf0b
commit 794f07c3b0

View file

@ -120,7 +120,7 @@ trait AccountBase
$sessionId = $response['body']['$id'];
$session = $this->client->parseCookie((string)$response['headers']['set-cookie'])['a_session_' . $this->getProject()['$id']];
$response = $this->client->call(Client::METHOD_POST, '/account/sessions', array_merge([
$response = $this->client->call(Client::METHOD_POST, '/account/sessions/email', array_merge([
'origin' => 'http://localhost',
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],