Skip to content

Commit

Permalink
Fixed the path and resourcePath in http event lambda proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonfungsing committed Apr 23, 2020
1 parent a5f7685 commit d8ecdc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
Original file line number Diff line number Diff line change
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 d8ecdc5

Please sign in to comment.