feat: fix retry deployment endpoint
This commit is contained in:
parent
16a46ad99a
commit
21887e6401
|
@ -581,6 +581,7 @@ App::post('/v1/functions/:functionId/deployments')
|
||||||
}
|
}
|
||||||
|
|
||||||
$activate = (bool) filter_var($activate, FILTER_VALIDATE_BOOLEAN);
|
$activate = (bool) filter_var($activate, FILTER_VALIDATE_BOOLEAN);
|
||||||
|
|
||||||
if ($activate) {
|
if ($activate) {
|
||||||
// Remove deploy for all other deployments.
|
// Remove deploy for all other deployments.
|
||||||
$activeDeployments = $dbForProject->find('deployments', [
|
$activeDeployments = $dbForProject->find('deployments', [
|
||||||
|
|
Loading…
Reference in a new issue