Skip to content

Commit

Permalink
[fix] fix bug of creating request body (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rcyyy authored Jan 26, 2024
1 parent fdc6c40 commit 4ee1209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ Release process:

- fix: aws configuration cannot be loaded due to pl.path cannot resolve the path started with ~
[94](https://github.com/Kong/lua-resty-aws/pull/94)
- fix: fix the bug of missing boolean type with a value of false in the generated request body
[100](https://github.com/Kong/lua-resty-aws/pull/100)

### 1.3.6 (25-Dec-2023)

Expand Down
2 changes: 1 addition & 1 deletion src/resty/aws/request/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ local function poor_mans_xml_encoding(output, shape, shape_name, data, indent)

if shape.type == "structure" then
for name, member in pairs(shape.members) do
if data[name] then
if data[name] ~= nil then
poor_mans_xml_encoding(output, member, name, data[name], indent + 1)
end
end
Expand Down

0 comments on commit 4ee1209

Please sign in to comment.