Skip to content

Commit

Permalink
chore(ajv): fix ajv settings to avoid type coercition
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Sep 29, 2023
1 parent 77149b8 commit d0ed241
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ async function initWrapHandlerForConsumerLambda<S extends WhookHandler>({
warn: (...args: string[]) => log('warning', ...args),
error: (...args: string[]) => log('error', ...args),
},
useDefaults: true,
coerceTypes: true,
});
addAJVFormats.default(ajv);
const ammendedParameters = extractOperationSecurityParameters(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ async function initWrapHandlerForGoogleHTTPFunction<S extends WhookHandler>({
warn: (...args: string[]) => log?.('warning', ...args),
error: (...args: string[]) => log?.('error', ...args),
},
useDefaults: true,
coerceTypes: true,
});
addAJVFormats.default(ajv);
const ammendedParameters = extractOperationSecurityParameters(
Expand Down

0 comments on commit d0ed241

Please sign in to comment.