@felloh-org/lambda-wrapper 1.11.51 → 1.11.53
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.
- package/dist/service/request.js +2 -0
- package/package.json +1 -1
package/dist/service/request.js
CHANGED
|
@@ -154,6 +154,7 @@ class Request extends _dependencyAware.default {
|
|
|
154
154
|
|
|
155
155
|
getAll(requestType = null) {
|
|
156
156
|
const event = this.getContainer().getEvent();
|
|
157
|
+
console.log(event);
|
|
157
158
|
|
|
158
159
|
if (HTTP_METHODS_WITHOUT_PAYLOADS.includes(event.httpMethod) || HTTP_METHODS_WITHOUT_PAYLOADS.includes(requestType)) {
|
|
159
160
|
// get simple parameters
|
|
@@ -259,6 +260,7 @@ class Request extends _dependencyAware.default {
|
|
|
259
260
|
if (typeof validation === 'undefined') {
|
|
260
261
|
resolve();
|
|
261
262
|
} else {
|
|
263
|
+
console.log(this.getAll(), validation);
|
|
262
264
|
Logger.label('request-validation-failed');
|
|
263
265
|
const validationErrorResponse = new _response.default({}, 422);
|
|
264
266
|
Object.keys(validation).forEach(validationKey => {
|