Completed
Branch master (554aca)
by Vincenzo
03:13 queued 29s
created
api/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 $c = new \Slim\Container($configuration);
14 14
 $api = new \Slim\App($c);
15 15
 
16
-$api->get('/ping', function ($request, $response, $args) {
16
+$api->get('/ping', function($request, $response, $args) {
17 17
     $jsonResp = json_encode(
18 18
         [
19 19
             "status" => "service up",
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     return Responder::getJsonResponse($jsonResp, $response);
24 24
 });
25 25
 
26
-$api->get('/users', function ($response) {
26
+$api->get('/users', function($response) {
27 27
     return Responder::getJsonResponse(
28 28
         \App\Models\User::all(),
29 29
         $response
Please login to merge, or discard this patch.