From e3c5ca365d0e788bf55f21a24c05c121ae77e7fe Mon Sep 17 00:00:00 2001 From: junjiequan Date: Tue, 12 Nov 2024 16:08:40 +0100 Subject: [PATCH] fix: correct wrong variable name for fileUploadLimitInMb --- src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", {