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

feat: reneame create-tag endpoint

This commit is contained in:
Christy Jacob 2022-01-25 03:05:41 +04:00
parent f6411cd213
commit f7e44a31be

View file

@ -554,7 +554,7 @@ App::post('/v1/functions/:functionId/deployments')
if ((bool) $deploy) {
// Remove deploy for all other deployments.
$deployments = $dbForProject->find('tags', [
$deployments = $dbForProject->find('deployments', [
new Query('deploy', Query::TYPE_EQUAL, [true]),
new Query('functionId', Query::TYPE_EQUAL, [$functionId])
]);