From 58086fbc7470f85bffe51c097417c8a559ecbb66 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Fri, 31 Jan 2025 22:15:22 +0000 Subject: [PATCH] fix: leftover --- app/controllers/api/projects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {