Skip to content

Commit

Permalink
Fix analysis initiator
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorfdl authored Nov 28, 2024
1 parent 3a85a3f commit 3c7aacd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions analysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" });

0 comments on commit 3c7aacd

Please sign in to comment.