We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5b00c6 commit 08a3ceeCopy full SHA for 08a3cee
1 file changed
lib/JSONResponse.php
@@ -45,8 +45,6 @@ public function __construct($data = [], $statusCode = Http::STATUS_OK) {
45
}
46
47
public function render() {
48
- // Convert the data to JSON format and return it
49
- $data = array_flip($this->data);
50
return json_encode($this->data);
51
52
0 commit comments