diff --git a/contrib/tools/api/moderate.js b/contrib/tools/api/moderate.js index 16daf5f..5b7c6a0 100644 --- a/contrib/tools/api/moderate.js +++ b/contrib/tools/api/moderate.js @@ -46,6 +46,6 @@ var moderate = function(req) { var privateKey = "longhexgoestripcodegoeshere"; // ban 192.168.0.1/16 and sign with private key -moderate(makeIpBans(["192.168.0.1/16"], privateKey)); +makeIpBans(["192.168.0.1/16"], privateKey, moderate); // delete and and sign with private key -moderate(makeDeletPosts(["", ""], privateKey)); +makeDeletPosts(["", ""], privateKey, moderate);