This commit is contained in:
Peter Šurda 2024-12-29 00:18:33 +00:00 committed by GitHub
commit 0f0b47237a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}