diff --git a/message-processor/processors/index.js b/message-processor/processors/index.js index 10cec9b4b..1afb1cf1e 100644 --- a/message-processor/processors/index.js +++ b/message-processor/processors/index.js @@ -10,5 +10,6 @@ const processors = fs.readdirSync(__dirname) } }) .sort(({order: o1}, {order: o2}) => o1 - o2) +.map(({processMessage}) => processMessage) module.exports = {processors}