Skip to content

Commit f0f585b

Browse files
committed
Fix double json encode
1 parent 3366c43 commit f0f585b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Http/Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public function html()
1818
*/
1919
public function json()
2020
{
21-
return response()->json(
22-
Storage::disk('local')->get('apidoc/collection.json')
21+
return response()->file(
22+
Storage::disk('local')->path('apidoc/collection.json')
2323
);
2424
}
2525
}

0 commit comments

Comments
 (0)