mod_rest/mod_rest.lua
changeset 4485 e453eaf1589e
parent 4484 dad0367d33e8
child 4492 eea62d30ae08
--- a/mod_rest/mod_rest.lua	Sun Feb 28 20:59:53 2021 +0100
+++ b/mod_rest/mod_rest.lua	Mon Mar 01 17:33:32 2021 +0100
@@ -67,7 +67,7 @@
 		-- GET /iq/disco/jid
 		data.kind = "iq";
 		data.type = "get";
-		data.[st_type] = true;
+		data[st_type] = true;
 	else
 		data.kind = st_kind;
 		data.type = st_type;