# HG changeset patch # User Kim Alvefur # Date 1582669807 -3600 # Node ID dbebc922659768ddcaedd2c5b537fe2c6b97f333 # Parent 5ae2e865eea05e5e860340dacedc74e291363ea7 mod_rest: Fix traceback in mapping of adhoc with forms Missed this in 987b203bb091 diff -r 5ae2e865eea0 -r dbebc9226597 mod_rest/jsonmap.lib.lua --- 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;