Comparison

mod_rest/jsonmap.lib.lua @ 3870:3261a82884bb

mod_rest: Fix missing return
author Kim Alvefur <zash@zash.se>
date Wed, 29 Jan 2020 21:44:00 +0100
parent 3860:9752a6f1b9f3
child 3871:e5d08bb58155
comparison
equal deleted inserted replaced
3869:f2b29183ef08 3870:3261a82884bb
89 disco:tag("feature", { var = feature }):up(); 89 disco:tag("feature", { var = feature }):up();
90 end 90 end
91 end 91 end
92 return disco; 92 return disco;
93 else 93 else
94 st.stanza("query", { xmlns = "http://jabber.org/protocol/disco#info", }); 94 return st.stanza("query", { xmlns = "http://jabber.org/protocol/disco#info", });
95 end 95 end
96 end; 96 end;
97 }; 97 };
98 98
99 items = { 99 items = {