Merge pull request #6169 from appwrite/fix-redeploys

Fix: Function redeploys
This commit is contained in:
Christy Jacob
2023-09-07 12:10:04 -04:00
committed by GitHub
+1
View File
@@ -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'),