diff --git a/src/main.ts b/src/main.ts index 41ba21153..327248a93 100644 --- a/src/main.ts +++ b/src/main.ts @@ -84,7 +84,9 @@ async function bootstrap() { }), ); - const fileUploadLimitInMb = configService.get("fileUploadLimitInMb"); + const fileUploadLimitInMb = configService.get( + "maxFileUploadSizeInMb", + ); app.useBodyParser("json", { limit: fileUploadLimitInMb }); app.useBodyParser("urlencoded", {