Skip to content

Commit

Permalink
Merge pull request #964 from jasonfungsing/fix-resource-path
Browse files Browse the repository at this point in the history
Fixed the path and resourcePath in http event lambda proxy
  • Loading branch information
dherault committed May 5, 2020
2 parents 910f634 + d8ecdc5 commit b4b1418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
Expand Up @@ -175,13 +175,13 @@ export default class LambdaProxyIntegrationEvent {
userAgent: _headers['user-agent'] || '',
userArn: 'offlineContext_userArn',
},
path: route.path,
path: this.#path,
protocol: 'HTTP/1.1',
requestId: createUniqueId(),
requestTime,
requestTimeEpoch,
resourceId: 'offlineContext_resourceId',
resourcePath: this.#path,
resourcePath: route.path,
stage: this.#stage,
},
resource: this.#path,
Expand Down

0 comments on commit b4b1418

Please sign in to comment.