@@ -65,8 +65,9 @@ |
||
| 65 | 65 | |
| 66 | 66 | protected function decodeHttpContent($content, $unwrap = true) |
| 67 | 67 | { |
| 68 | - if ($unwrap) |
|
| 69 | - return json_decode($content, true)['data']; |
|
| 68 | + if ($unwrap) { |
|
| 69 | + return json_decode($content, true)['data']; |
|
| 70 | + } |
|
| 70 | 71 | return json_decode($content, true); |
| 71 | 72 | } |
| 72 | 73 | |