Fix API /os
This commit is contained in:
parent
25ff23d98d
commit
162b708dbf
|
@ -190,7 +190,8 @@ class ApiController extends Controller
|
||||||
|
|
||||||
protected function getAllOs()
|
protected function getAllOs()
|
||||||
{
|
{
|
||||||
$os = OS::allOS()->toJson(JSON_PRETTY_PRINT);
|
$os = OS::allOS();
|
||||||
|
$os = json_encode($os, JSON_PRETTY_PRINT);
|
||||||
return response($os, 200);
|
return response($os, 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user