Skip to content

Commit

Permalink
fixed curl-json
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Feb 3, 2021
1 parent dfefcbf commit 372f9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_cache_dev.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function () use (&$rinfo, $r) {
* @help Decode body with json, use with ?--trace=cache,curl
*/
function () use (&$rinfo, $r) {
$rinfo['body'] = \PMVC\fromJson($r->body);
$rinfo['body'] = \PMVC\fromJson($r->body, true);
}, 'curl-json'
);

Expand Down

0 comments on commit 372f9e2

Please sign in to comment.