1
0
Fork 0
mirror of synced 2024-06-18 18:54:55 +12:00

feat: fix retry deployment endpoint

This commit is contained in:
Christy Jacob 2022-02-25 15:12:44 +04:00
parent 16a46ad99a
commit 21887e6401

View file

@ -581,6 +581,7 @@ App::post('/v1/functions/:functionId/deployments')
}
$activate = (bool) filter_var($activate, FILTER_VALIDATE_BOOLEAN);
if ($activate) {
// Remove deploy for all other deployments.
$activeDeployments = $dbForProject->find('deployments', [