Skip to content

Commit df748fc

Browse files
committed
fix: enable urlencoder args
1 parent 57140c5 commit df748fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/express-app/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export async function startApp<
188188
);
189189
}
190190
if (routing?.bodyParsers?.form) {
191-
app.use(express.urlencoded());
191+
app.use(express.urlencoded(typeof routing.bodyParsers.form === 'object' ? routing.bodyParsers.form : {}));
192192
}
193193

194194
if (serviceImpl.authorize) {

0 commit comments

Comments
 (0)