mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix: output of parse was not being used
This commit is contained in:
1 parent
e03748e74a
commit
dde064665b
1 file changed
+3
-3
@@ -252,12 +252,12 @@ class Response extends SwooleResponse
|
||||
{
|
||||
$output = $this->output($document, $model);
|
||||
|
||||
// If filter is set, parse the item
|
||||
// If filter is set, parse the output
|
||||
if(self::isFilter()){
|
||||
$item = self::getFilter()->parse($output, $model);
|
||||
$output = self::getFilter()->parse($output, $model);
|
||||
}
|
||||
|
||||
$this->json($item);
|
||||
$this->json($output);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user