Changeset

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
parents 4480:dad0367d33e8
children 4482:21698b960bd6
files mod_rest/mod_rest.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;