@@ -16,8 +16,8 @@ |
||
| 16 | 16 | ]; |
| 17 | 17 | $body = json_encode($data, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT); |
| 18 | 18 | return $response |
| 19 | - ->withStatus($status) |
|
| 20 | - ->withHeader("Content-type", "application/json") |
|
| 21 | - ->write($body); |
|
| 19 | + ->withStatus($status) |
|
| 20 | + ->withHeader("Content-type", "application/json") |
|
| 21 | + ->write($body); |
|
| 22 | 22 | } |
| 23 | 23 | } |