diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-21 18:08:19 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 14:57:57 +0100 |
commit | 4e5ece0f4f95882e91f8974cd9b129e1630e862b (patch) | |
tree | bd68fa8ad217c32e99bb23ce2cefe93fd0df9335 /ctl-lua.c | |
parent | cf28be08437fee009b94c875793c1b83f74013a7 (diff) |
Documentation and LUA for Ubuntu
Diffstat (limited to 'ctl-lua.c')
-rw-r--r-- | ctl-lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -673,9 +673,9 @@ STATIC void LuaDoAction (LuaDoActionT action, afb_req request) { const char *func; json_object *argsJ=NULL; - err= wrap_json_unpack (queryJ, "{s:s, s?o !}", "request", &func, "args", &argsJ); + err= wrap_json_unpack (queryJ, "{s:s, s?o !}", "target", &func, "args", &argsJ); if (err) { - AFB_ERROR ("LUA-DOCALL-SYNTAX missing func|args query=%s", json_object_get_string(queryJ)); + AFB_ERROR ("LUA-DOCALL-SYNTAX missing target|args query=%s", json_object_get_string(queryJ)); goto OnErrorExit; } |