From c6cdc0c37c5e258bfcda99ae400780b1ea9c00cd Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Wed, 9 Aug 2023 13:16:17 +0530 Subject: [PATCH] Fix broken functions flow --- .env | 2 +- app/console | 2 +- app/controllers/api/vcs.php | 2 +- composer.lock | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.env b/.env index 6cb32855a4..e314685f13 100644 --- a/.env +++ b/.env @@ -61,7 +61,7 @@ _APP_FUNCTIONS_INACTIVE_THRESHOLD=600 _APP_FUNCTIONS_MAINTENANCE_INTERVAL=600 _APP_FUNCTIONS_RUNTIMES_NETWORK=runtimes _APP_EXECUTOR_SECRET=your-secret-key -_APP_EXECUTOR_HOST=http://exc1/v1 +_APP_EXECUTOR_HOST=http://executor/v1 _APP_FUNCTIONS_RUNTIMES= _APP_MAINTENANCE_INTERVAL=86400 _APP_MAINTENANCE_RETENTION_CACHE=2592000 diff --git a/app/console b/app/console index c51d994430..168e808668 160000 --- a/app/console +++ b/app/console @@ -1 +1 @@ -Subproject commit c51d994430c88a10fbd8e10f734ee6c255a936df +Subproject commit 168e80866827a25ca7982a3a8ef85a81ed86c291 diff --git a/app/controllers/api/vcs.php b/app/controllers/api/vcs.php index 539c4cafbe..6805d6cfb5 100644 --- a/app/controllers/api/vcs.php +++ b/app/controllers/api/vcs.php @@ -414,7 +414,7 @@ App::post('/v1/vcs/github/installations/:installationId/providerRepositories/:pr ->label('sdk.response.model', Response::MODEL_DETECTION) ->param('installationId', '', new Text(256), 'Installation Id') ->param('providerRepositoryId', '', new Text(256), 'Repository Id') - ->param('providerRootDirectory', '', new Text(256), 'Path to Root Directory', true) + ->param('providerRootDirectory', '', new Text(256, 0), 'Path to Root Directory', true) ->inject('gitHub') ->inject('response') ->inject('project') diff --git a/composer.lock b/composer.lock index 17501f8040..68ef32c3fc 100644 --- a/composer.lock +++ b/composer.lock @@ -2463,7 +2463,7 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/vcs.git", - "reference": "3b1138fd655cdf116c5848d8b966f2ffcd3c623d" + "reference": "c33c9e95f7d61d32a6e1f644061c0dbf56b8d846" }, "require": { "adhocore/jwt": "^1.1", @@ -2512,7 +2512,7 @@ "utopia", "vcs" ], - "time": "2023-08-07T10:00:44+00:00" + "time": "2023-08-07T15:20:14+00:00" }, { "name": "utopia-php/websocket",