feat: reneame create-tag endpoint
This commit is contained in:
parent
f6411cd213
commit
f7e44a31be
|
@ -554,7 +554,7 @@ App::post('/v1/functions/:functionId/deployments')
|
||||||
|
|
||||||
if ((bool) $deploy) {
|
if ((bool) $deploy) {
|
||||||
// Remove deploy for all other deployments.
|
// Remove deploy for all other deployments.
|
||||||
$deployments = $dbForProject->find('tags', [
|
$deployments = $dbForProject->find('deployments', [
|
||||||
new Query('deploy', Query::TYPE_EQUAL, [true]),
|
new Query('deploy', Query::TYPE_EQUAL, [true]),
|
||||||
new Query('functionId', Query::TYPE_EQUAL, [$functionId])
|
new Query('functionId', Query::TYPE_EQUAL, [$functionId])
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue