@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $app->map(['GET', 'POST'], '/deploy/{key}/{deployment}', ProjectController::class . ':redeploy') |
| 27 | 27 | ->setName('project.redeploy'); |
| 28 | 28 | |
| 29 | -$app->group('/api/project', function (App $app) { |
|
| 29 | +$app->group('/api/project', function(App $app) { |
|
| 30 | 30 | $app->map(['GET'], '/{key}/events/{number}', ApiController::class . ':events'); |
| 31 | 31 | }); |
| 32 | 32 | |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | if (is_null($code)) { |
| 48 | 48 | $code = 400; |
| 49 | 49 | } |
| 50 | - $data = [ 'message' => $message ]; |
|
| 50 | + $data = ['message' => $message]; |
|
| 51 | 51 | return $this->renderJson( |
| 52 | 52 | $response, |
| 53 | 53 | 'error', |