feat: fix retry deployment endpoint
This commit is contained in:
parent
16a46ad99a
commit
21887e6401
1 changed files with 1 additions and 0 deletions
|
@ -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', [
|
||||
|
|
Loading…
Reference in a new issue