use deployment limit instead
This commit is contained in:
parent
cf86289ca0
commit
6c49811d14
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue