Use indexId instead of id
This commit is contained in:
parent
c072a07ed5
commit
a4486fd99e
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ class DatabaseCustomServerTest extends Scope
|
||||||
'x-appwrite-project' => $this->getProject()['$id'],
|
'x-appwrite-project' => $this->getProject()['$id'],
|
||||||
'x-appwrite-key' => $this->getProject()['apiKey']
|
'x-appwrite-key' => $this->getProject()['apiKey']
|
||||||
]), [
|
]), [
|
||||||
'id' => "key_attribute{$i}",
|
'indexId' => "key_attribute{$i}",
|
||||||
'type' => 'key',
|
'type' => 'key',
|
||||||
'attributes' => ["attribute{$i}"],
|
'attributes' => ["attribute{$i}"],
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue