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:
@@ -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