From 418c8e37644195d1649897e19dbf925a6ba0209c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 7 Sep 2023 11:33:42 +0200 Subject: [PATCH] Fix redeploys --- app/controllers/api/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index a1263ced35..1cabc77eb7 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -1458,6 +1458,7 @@ App::post('/v1/functions/:functionId/deployments/:deploymentId/builds/:buildId') $deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([ '$id' => $deploymentId, + '$internalId' => '', 'buildId' => '', 'buildInternalId' => '', 'entrypoint' => $function->getAttribute('entrypoint'),