Commit 7eca5e3
authored
Inccorectly formated JSON response , if body is string
JSON was not correctly formatted in case we providing a string to setJSON() method.
Of course, this is not the final solution but I am pointing out the place where the issue occurs.
```
$this->response
->setJSON(time().'get')
->send();
```1 parent 4a3011b commit 7eca5e3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
450 | | - | |
| 450 | + | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| |||
0 commit comments