File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module.exports = (app, options) => {
16
16
options . serializeLambdaArguments = options . serializeLambdaArguments !== undefined ? options . serializeLambdaArguments : false
17
17
options . decorateRequest = options . decorateRequest !== undefined ? options . decorateRequest : true
18
18
options . retainStage = options . retainStage !== undefined ? options . retainStage : false
19
- options . proxiedPathParameterAsPath = options . proxiedPathParameterAsPath !== undefined ? options . proxiedPathParameterAsPath : false
19
+ options . pathParameterUsedAsPath = options . pathParameterUsedAsPath !== undefined ? options . pathParameterUsedAsPath : false
20
20
let currentAwsArguments = { }
21
21
if ( options . decorateRequest ) {
22
22
options . decorationPropertyName = options . decorationPropertyName || 'awsLambda'
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ declare namespace awsLambdaFastify {
12
12
decorationPropertyName ?: string ;
13
13
enforceBase64 ?: ( response : LightMyRequestResponse ) => boolean ;
14
14
retainStage ?: boolean ;
15
+ /**
16
+ * usually set to 'proxy', if used
17
+ */
18
+ pathParameterUsedAsPath ?: string ;
15
19
}
16
20
17
21
export interface LambdaResponse {
You can’t perform that action at this time.
0 commit comments