From 23bedfbf341c09171898cf7187629b498de0948d Mon Sep 17 00:00:00 2001 From: will Farrell Date: Tue, 7 Nov 2023 21:51:53 -0700 Subject: [PATCH] fix: make consistent --- packages/http-multipart-body-parser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http-multipart-body-parser/index.js b/packages/http-multipart-body-parser/index.js index 78bdd43a0..7f58d4269 100644 --- a/packages/http-multipart-body-parser/index.js +++ b/packages/http-multipart-body-parser/index.js @@ -56,7 +56,7 @@ const parseMultipartData = (event, options) => { ...options.busboy, headers: { 'content-type': - event.headers['Content-Type'] ?? event.headers['content-type'] + event.headers?.['Content-Type'] ?? event.headers?.['content-type'] } })