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