From 3c7aacd937390b0ccae4d44ea2b05cde6f8b30fa Mon Sep 17 00:00:00 2001 From: Vitor Lima Date: Thu, 28 Nov 2024 14:31:37 -0300 Subject: [PATCH] Fix analysis initiator --- analysis.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/analysis.js b/analysis.js index 5cdfb5f..c7dac96 100644 --- a/analysis.js +++ b/analysis.js @@ -53,7 +53,6 @@ async function mqttPushExample(context, scope) { }).then(context.log, context.log) } -module.exports = new Analysis(mqttPushExample); - +Analysis.use(mqttPushExample); // To run analysis on your machine (external) // module.exports = new Analysis(mqttPushExample, { token: "YOUR-TOKEN" });