Skip to content

Commit a0949e6

Browse files
authored
Merge pull request #713 from HTMHell/master
Fix double json encode
2 parents 3366c43 + 981b654 commit a0949e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controller.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function html()
1919
public function json()
2020
{
2121
return response()->json(
22-
Storage::disk('local')->get('apidoc/collection.json')
22+
json_decode(Storage::disk('local')->get('apidoc/collection.json'))
2323
);
2424
}
2525
}

0 commit comments

Comments
 (0)