mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Update list with databaseId
This commit is contained in:
@@ -153,6 +153,7 @@ function createAttribute(string $databaseId, string $collectionId, Document $att
|
||||
function getUniqueKey(Request $request): string
|
||||
{
|
||||
// todo: do we want this a function? and what is the key built from?
|
||||
///make this specific not in a function.....
|
||||
$queries = $request->getParam('queries');
|
||||
$uri = $request->getURI();
|
||||
return md5(json_encode([$uri, $queries]));
|
||||
|
||||
@@ -7,6 +7,7 @@ use Utopia\Database\Database;
|
||||
use Utopia\Database\ID;
|
||||
use Utopia\Database\DateTime;
|
||||
use Utopia\Database\Permission;
|
||||
use Utopia\Database\Query;
|
||||
use Utopia\Database\Role;
|
||||
|
||||
trait DatabasesBase
|
||||
@@ -1045,7 +1046,7 @@ trait DatabasesBase
|
||||
'equal("blocked", true)',
|
||||
'equal("collectionId", "' . $data['moviesId'] . '")',
|
||||
'orderAsc("$updatedAt")'
|
||||
],
|
||||
]
|
||||
]);
|
||||
|
||||
$this->assertEquals(200, $documents['headers']['status-code']);
|
||||
|
||||
Reference in New Issue
Block a user