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

use deployment limit instead

This commit is contained in:
Damodar Lohani 2022-02-22 06:32:31 +00:00
parent cf86289ca0
commit 6c49811d14

View file

@ -489,7 +489,7 @@ App::post('/v1/functions/:functionId/deployments')
$file = $request->getFiles('code');
$fileExt = new FileExt([FileExt::TYPE_GZIP]);
$fileSizeValidator = new FileSize(App::getEnv('_APP_STORAGE_LIMIT', 0));
$fileSizeValidator = new FileSize(App::getEnv('_APP_FUNCTIONS_DEPLOYMENT_LIMIT', 0));
$upload = new Upload();
if (empty($file)) {