@felloh-org/lambda-wrapper 1.11.53 → 1.11.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -168,8 +168,9 @@ class Request extends _dependencyAware.default {
168
168
  }
169
169
 
170
170
  if (HTTP_METHODS_WITH_PAYLOADS.includes(event.httpMethod) || HTTP_METHODS_WITH_PAYLOADS.includes(requestType)) {
171
- const contentType = this.getHeader('Content-Type');
171
+ const contentType = this.getHeader('Content-Type', this.getHeader('content-type'));
172
172
  let queryParameters = {};
173
+ console.log('content-type', contentType);
173
174
 
174
175
  if (contentType.includes('application/x-www-form-urlencoded')) {
175
176
  queryParameters = _querystring.default.parse(event.body);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@felloh-org/lambda-wrapper",
3
- "version": "1.11.53",
3
+ "version": "1.11.54",
4
4
  "description": "Lambda wrapper for all Felloh Serverless Projects",
5
5
  "main": "dist/index.js",
6
6
  "engines": {