Changeset

3870:3261a82884bb

mod_rest: Fix missing return
author Kim Alvefur <zash@zash.se>
date Wed, 29 Jan 2020 21:44:00 +0100
parents 3869:f2b29183ef08
children 3871:e5d08bb58155
files mod_rest/jsonmap.lib.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/jsonmap.lib.lua	Mon Jan 27 16:37:23 2020 +0000
+++ b/mod_rest/jsonmap.lib.lua	Wed Jan 29 21:44:00 2020 +0100
@@ -91,7 +91,7 @@
 				end
 				return disco;
 			else
-				st.stanza("query", { xmlns = "http://jabber.org/protocol/disco#info", });
+				return st.stanza("query", { xmlns = "http://jabber.org/protocol/disco#info", });
 			end
 		end;
 	};