diff options
Diffstat (limited to 'modules/daf')
-rw-r--r-- | modules/daf/daf.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/daf/daf.lua b/modules/daf/daf.lua index 94d0a49d..0a5a98df 100644 --- a/modules/daf/daf.lua +++ b/modules/daf/daf.lua @@ -251,7 +251,7 @@ local function api(h, stream) local path = h:get(':path') local id = tonumber(path:match '/([^/]*)$') if id then - if consensus('daf.del "%s"', id) then + if consensus('daf.del(%s)', id) then return tojson(true) end return 404, '"No such rule"' -- Not found |