Skip to content

Commit 5912769

Browse files
committed
fix(method): passing the true request method to Express
1 parent 8ba2d28 commit 5912769

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/express-service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61585,7 +61585,7 @@ function expressService (app) {
6158561585

6158661586
var req = {
6158761587
url: parsedUrl.href,
61588-
method: 'GET',
61588+
method: event.request.method,
6158961589
headers: {},
6159061590
unpipe: function () {}
6159161591
}

src/service.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function expressService (app) {
4545

4646
var req = {
4747
url: parsedUrl.href,
48-
method: 'GET',
48+
method: event.request.method,
4949
headers: {},
5050
unpipe: function () {}
5151
}

0 commit comments

Comments
 (0)