Mercurial > prosody-modules
diff mod_rest/jsonmap.lib.lua @ 4916:1d231fb827d3
mod_rest/jsonmap: Fix indentation
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 07 Apr 2022 15:39:11 +0200 |
parents | f69c5a443156 |
children | 3dc8e329d233 |
line wrap: on
line diff
--- a/mod_rest/jsonmap.lib.lua Mon Apr 04 17:50:24 2022 +0200 +++ b/mod_rest/jsonmap.lib.lua Thu Apr 07 15:39:11 2022 +0200 @@ -552,8 +552,8 @@ for k, v in pairs(t) do local mapping = field_mappings[k]; if mapping and mapping.type == "func" and mapping.json2st then - s:add_child(mapping.json2st(v)):up(); - end + s:add_child(mapping.json2st(v)):up(); + end end s:reset();