diff --git a/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js b/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js index e57c4767c..f65056cbd 100644 --- a/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js +++ b/src/events/http/lambda-events/LambdaProxyIntegrationEvent.js @@ -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,