From 56241b57896ade494474bf021dfc29dca8d8717c Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 22 Feb 2022 18:12:18 +0545 Subject: [PATCH] Update app/controllers/api/functions.php Co-authored-by: Christy Jacob --- app/controllers/api/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index 6b09d4e5dd..886fcaade4 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -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 {