Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshkotha committed May 23, 2022
1 parent 3700714 commit 2793f38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/events/http/Endpoint.js
Expand Up @@ -108,7 +108,7 @@ export default class Endpoint {
// loosely based on:
// https://github.com/serverless/serverless/blob/v1.59.2/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js#L380
#getIntegration(http) {
const { integration, async: isAsync } = http
const { integration } = http
if (integration) {
const normalizedIntegration = integration.toUpperCase().replace('-', '_')
if (normalizedIntegration === 'LAMBDA') {
Expand Down
4 changes: 2 additions & 2 deletions src/events/http/lambda-events/LambdaProxyIntegrationEvent.js
Expand Up @@ -33,7 +33,7 @@ export default class LambdaProxyIntegrationEvent {
path,
stageVariables,
routeKey,
isAsync = false,
isAsync,
additionalRequestContext,
v3Utils,
) {
Expand All @@ -42,7 +42,7 @@ export default class LambdaProxyIntegrationEvent {
this.#request = request
this.#stage = stage
this.#stageVariables = stageVariables
this.#isAsync = isAsync
this.#isAsync = isAsync || false
this.#additionalRequestContext = additionalRequestContext || {}
if (v3Utils) {
this.log = v3Utils.log
Expand Down

0 comments on commit 2793f38

Please sign in to comment.