Restrict array list

This commit is contained in:
fogelito
2025-08-24 18:09:38 +03:00
parent 959db2ea02
commit ad96379623
@@ -1735,7 +1735,7 @@ trait DatabasesBase
'content-type' => 'application/json',
'x-appwrite-project' => $this->getProject()['$id'],
], $this->getHeaders()), [
'data' => [[
'data' => [
'title' => 'Thor: Ragnarok',
'releaseYear' => 2000,
'integers' => [],
@@ -1745,7 +1745,7 @@ trait DatabasesBase
'actors' => [],
'tagline' => '',
'description' => '',
]],
],
'permissions' => [
Permission::read(Role::users()),
Permission::update(Role::users()),