1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

Update app/controllers/api/functions.php

Co-authored-by: Christy Jacob <christyjacob4@gmail.com>
This commit is contained in:
Damodar Lohani 2022-02-22 18:12:18 +05:45 committed by GitHub
parent 2e0a91a3a8
commit 56241b5789
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {