Skip to content

Commit

Permalink
aws: type conversion of header
Browse files Browse the repository at this point in the history
  • Loading branch information
nfuden committed Feb 4, 2025
1 parent 713f615 commit 603e6c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ void ApiGatewayTransformer::transform_response(
}
for (json::const_iterator it = headers.cbegin(); it != headers.cend(); it++) {
const auto& header_key = it.key();
if (!response_headers->get(header_key).empty()) {
if (!response_headers->get(header_key.get<std::string>()).empty()) {
// Dont double set headers that are specified in multivalue
continue;
}
Expand Down

0 comments on commit 603e6c0

Please sign in to comment.