@webtypen/webframez-core 0.0.37 → 0.0.38
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/lib/Router/Router.js +1 -1
- package/package.json +1 -1
- package/src/Router/Router.ts +1 -1
package/lib/Router/Router.js
CHANGED
|
@@ -200,7 +200,7 @@ class RouterFacade {
|
|
|
200
200
|
let body = [];
|
|
201
201
|
const bodyPlain = this.mode === "aws-lambda"
|
|
202
202
|
? options && options.event && options.event.body
|
|
203
|
-
?
|
|
203
|
+
? options.event.body
|
|
204
204
|
: null
|
|
205
205
|
: req
|
|
206
206
|
? yield new Promise((resolve) => {
|
package/package.json
CHANGED
package/src/Router/Router.ts
CHANGED
|
@@ -233,7 +233,7 @@ class RouterFacade {
|
|
|
233
233
|
const bodyPlain: any =
|
|
234
234
|
this.mode === "aws-lambda"
|
|
235
235
|
? options && options.event && options.event.body
|
|
236
|
-
?
|
|
236
|
+
? options.event.body
|
|
237
237
|
: null
|
|
238
238
|
: req
|
|
239
239
|
? await new Promise((resolve: Function) => {
|