From fa1c39790a92b06c2d6059f61d93418601e7d36c Mon Sep 17 00:00:00 2001 From: Lamp Date: Tue, 4 Jan 2022 16:30:07 -0800 Subject: [PATCH] ass --- lib/datacollector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datacollector.js b/lib/datacollector.js index 2fed304..aace7aa 100644 --- a/lib/datacollector.js +++ b/lib/datacollector.js @@ -7,7 +7,7 @@ module.exports = class WebSocketMessageCollector { this.startDate = new Date(); this.dispatchFunction = dispatchFunction; exitHook(cb => { - this.dispatchFunction().then(cb); + this.package().then(cb); }); }