Skip to content

Commit

Permalink
Merge pull request #713 from HTMHell/master
Browse files Browse the repository at this point in the history
Fix double json encode
  • Loading branch information
shalvah authored Mar 22, 2020
2 parents 3366c43 + 981b654 commit a0949e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function html()
public function json()
{
return response()->json(
Storage::disk('local')->get('apidoc/collection.json')
json_decode(Storage::disk('local')->get('apidoc/collection.json'))
);
}
}

0 comments on commit a0949e6

Please sign in to comment.