1
0
Fork 0
mirror of synced 2024-07-06 15:11:21 +12:00

delete relation attribute

This commit is contained in:
fogelito 2023-03-19 19:31:15 +02:00
parent eee29940bb
commit 0c6f9bdb01

View file

@ -366,13 +366,18 @@ trait DatabasesBase
//
// var_dump($documents);
$response = $this->client->call(Client::METHOD_DELETE, '/databases/' . $databaseId . '/collections/' . $person['body']['$id'] . '/attributes/libraryId', array_merge([
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
'x-appwrite-key' => $this->getProject()['apiKey']
]));
var_dump($response);
$this->assertEquals(204, $response['headers']['status-code']);
die;
return [];
}