diff --git a/app/controllers/api/projects.php b/app/controllers/api/projects.php index 5f7378fa96..93b7dd8fb0 100644 --- a/app/controllers/api/projects.php +++ b/app/controllers/api/projects.php @@ -1765,7 +1765,7 @@ App::post('/v1/projects/:projectId/platforms') ->param('hostname', '', new Hostname(), 'Platform client hostname. Max length: 256 chars.', true) ->inject('response') ->inject('dbForPlatform') - ->action(function (string $projectId, string $type, string $name, string $key, string $store, string $hostname, string $scheme, Response $response, Database $dbForPlatform) { + ->action(function (string $projectId, string $type, string $name, string $key, string $store, string $hostname, Response $response, Database $dbForPlatform) { $project = $dbForPlatform->getDocument('projects', $projectId); if ($project->isEmpty()) {