diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/plugins/blocks/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js index 6415ec0..91e8b55 100644 --- a/test/plugins/blocks/index.js +++ b/test/plugins/blocks/index.js @@ -1,14 +1,14 @@ module.exports = { blocks: { "test": { - process: function(body, args, kwargs) { - return "test"+body+"test"; + process: function(args) { + return "test"+args.body+"test"; } }, "test2": { end: "endtest2end", - process: function(body, args, kwargs) { - return "test2"+body+"test2"; + process: function(args) { + return "test2"+args.body+"test2"; } } } |