Skip to content

Commit 53e513d

Browse files
fffonionthibaultcha
authored andcommitted
fix(aws-lambda) properly send 'X-Amz-Log-Type' header
From #3398
1 parent 24a0748 commit 53e513d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kong/plugins/aws-lambda/handler.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function AWSLambdaHandler:access(conf)
9696
headers = {
9797
["X-Amz-Target"] = "invoke",
9898
["X-Amz-Invocation-Type"] = conf.invocation_type,
99-
["X-Amx-Log-Type"] = conf.log_type,
99+
["X-Amz-Log-Type"] = conf.log_type,
100100
["Content-Type"] = "application/x-amz-json-1.1",
101101
["Content-Length"] = upstream_body_json and tostring(#upstream_body_json),
102102
},

0 commit comments

Comments
 (0)