mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-18 17:18:35 +00:00
Merge 162b708dbf
into 525b1d29f0
This commit is contained in:
commit
0f0b47237a
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ class ApiController extends Controller
|
|||
|
||||
protected function getAllOs()
|
||||
{
|
||||
$os = OS::allOS()->toJson(JSON_PRETTY_PRINT);
|
||||
$os = OS::allOS();
|
||||
$os = json_encode($os, JSON_PRETTY_PRINT);
|
||||
return response($os, 200);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue