From 3b1facaaa90e4754c39a28cdeb2030729c444efa Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 18 Aug 2021 14:43:23 +0300 Subject: [PATCH] Updated collectionId --- app/controllers/api/database.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/controllers/api/database.php b/app/controllers/api/database.php index 98a12848a..18193f59d 100644 --- a/app/controllers/api/database.php +++ b/app/controllers/api/database.php @@ -93,10 +93,9 @@ $attributesCallback = function ($attribute, $response, $dbForExternal, $database // // TODO@kodumbeats should $signed and $filters be part of the response model? - var_dump($collectionId); $attribute = new Document([ - '$id' => $attributeId, '$collection' => $collectionId, + '$id' => $attributeId, 'type' => $type, 'size' => $size, 'required' => $required,