We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccbb430 commit b9fd803Copy full SHA for b9fd803
src/openapi-lambda-adapters.ts
@@ -42,7 +42,7 @@ export const convertAxiosToApiGw = (config: AxiosRequestConfig, operation: Opera
42
43
// extract query params -> convert each value to ta string
44
const queryParams = Object.entries(config.params ?? {}).reduce<APIGatewayProxyEventQueryStringParameters>((queryParams, [key, val]) => {
45
- queryParams[key] = val.toString()
+ queryParams[key] = val?.toString()
46
return queryParams
47
}, {})
48
0 commit comments