Update app/controllers/api/functions.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar LohaniandChristy Jacob authored and GitHub committed 2022-02-22 18:12:18 +05:45
1 parent 2e0a91a3a8
commit 56241b5789
1 file changed
+1 -1
+1 -1
View File
@@ -589,7 +589,7 @@ App::post('/v1/functions/:functionId/deployments')
'path' => $path,
'size' => $fileSize,
'search' => implode(' ', [$deploymentId, $entrypoint]),
'activate' => ((bool) $activate === true),
'activate' => $activate,
'metadata' => $metadata,
]));
} else {