diff options
-rw-r--r-- | conf.d/controller/lua.d/aft.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf.d/controller/lua.d/aft.lua b/conf.d/controller/lua.d/aft.lua index 4d0fac7..b229e39 100644 --- a/conf.d/controller/lua.d/aft.lua +++ b/conf.d/controller/lua.d/aft.lua @@ -315,6 +315,10 @@ local function assertVerbCallParameters(src, api, verb, args) _AFT.assertIsTable(args, "Arguments must use LUA Table (event empty)") end +function _AFT.callVerb(api, verb, args) + AFB:servsync(_AFT.context, api, verb, args) +end + function _AFT.assertVerb(api, verb, args, cb) assertVerbCallParameters(_AFT.context, api, verb, args) local err,responseJ = AFB:servsync(_AFT.context, api, verb, args) |