From de2f6f5dc95ab9254d9015c263590ec2d24cdef7 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 17 May 2018 00:23:07 +0200 Subject: Update to the new JSON syntax Change-Id: I4ee750f4d95e9fe47352e6cd1dfaeaa94c292e30 Signed-off-by: Romain Forlot --- ctl-lib/ctl-lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctl-lib') diff --git a/ctl-lib/ctl-lua.c b/ctl-lib/ctl-lua.c index ae991c6..c2f2376 100644 --- a/ctl-lib/ctl-lua.c +++ b/ctl-lib/ctl-lua.c @@ -752,7 +752,7 @@ static int LuaDoScript(json_object *queryJ, CtlSourceT *source) { err = wrap_json_unpack(queryJ, "{s:s,s?s,s?s,s?o !}", "uid", &uid, "spath", &luaScriptPathJ, - "function", &func, + "action", &func, "args", &argsJ); if (err) { -- cgit 1.2.3-korg