From 77c5fe6240f08a55f61afc8d0ed48129bd8394d2 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(-) 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