delete relation attribute
This commit is contained in:
parent
eee29940bb
commit
0c6f9bdb01
1 changed files with 7 additions and 2 deletions
|
@ -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 [];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue