Skip to content

Commit

Permalink
🐛 #118 correção script
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Aug 9, 2022
1 parent e1f50db commit 8ca4477
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions system_skeleton/rest/api/api_controllers/SysinfoAPI.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
use Psr\Http\Message\ResponseInterface as Response;

class SysinfoAPI {



public function __construct(){
}
}
//--------------------------------------------------------------------------------
public static function info()
{
Expand All @@ -22,8 +21,8 @@ public static function info()
//--------------------------------------------------------------------------------
public static function getInfo(Request $request, Response $response, array $args)
{
$result = self::info();
$response = $response->withJson($result);
$msg = self::info();
$response = TGenericAPI::getBodyJson($msg,$response);
return $response;
}
}

0 comments on commit 8ca4477

Please sign in to comment.