changeset 3906:dbebc9226597

mod_rest: Fix traceback in mapping of adhoc with forms Missed this in 987b203bb091
author Kim Alvefur <zash@zash.se>
date Tue, 25 Feb 2020 23:30:07 +0100
parents 5ae2e865eea0
children d5ecb9b9cb3b
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	Sat Sep 28 00:16:13 2019 +0200
+++ b/mod_rest/jsonmap.lib.lua	Tue Feb 25 23:30:07 2020 +0100
@@ -261,7 +261,7 @@
 				};
 			end
 			if form then
-				cmd.form = dataform[4] (form);
+				cmd.form = dataform.st2json(form);
 			end
 			return cmd;
 		end;