1
0
Fork 0
mirror of synced 2024-06-14 00:34:51 +12:00

fix: output of parse was not being used

This commit is contained in:
Christy Jacob 2021-01-11 19:20:54 +05:30
parent e03748e74a
commit dde064665b

View file

@ -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);
}