mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
feat: apply parse method if filter is present
This commit is contained in:
1 parent
cebd016282
commit
c508657a50
1 file changed
+4
@@ -293,6 +293,10 @@ class Response extends SwooleResponse
|
||||
}
|
||||
|
||||
$item = $this->output($item, $rule['type']);
|
||||
// If filter is set, parse the item
|
||||
if(self::isFilter()){
|
||||
$item = self::getFilter()->parse($item, $rule['type']);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user