Diff

mod_rest/mod_rest.lua @ 4481:e453eaf1589e

mod_rest: Fix syntax error in previous commit
author Kim Alvefur <zash@zash.se>
date Mon, 01 Mar 2021 17:33:32 +0100
parent 4480:dad0367d33e8
child 4488:eea62d30ae08
line wrap: on
line diff
--- 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;