From da159f2b137269e32f88ca2bd5ab6152791978b7 Mon Sep 17 00:00:00 2001 From: Anthony Correa Date: Sun, 19 May 2024 12:34:27 -0500 Subject: [PATCH] urlencode needs an explicit extended option --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 9aef7b1..46511c1 100644 --- a/src/app.js +++ b/src/app.js @@ -67,7 +67,7 @@ if (process.env.NODE_ENV === "development") { } app.use(bodyParser.json()); -app.use(bodyParser.urlencoded()); +app.use(bodyParser.urlencoded({extended: true })); app.use(logger("dev")); app.use(cors(corsOptions)) app.use(cookieParser());