From a0810e0579929a09abfcacd24d227f40812a795d Mon Sep 17 00:00:00 2001 From: Lamp Date: Fri, 7 Dec 2018 23:39:30 -0800 Subject: [PATCH] derp --- src/ddpbridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ddpbridge.js b/src/ddpbridge.js index 70713fb..58f0a43 100644 --- a/src/ddpbridge.js +++ b/src/ddpbridge.js @@ -11,7 +11,7 @@ var wasConnected = false; //var myId; var collectWsMessage = createWsMessageCollector(async function(data, startDate, endDate){ - await ws.send({files:[{ + await webhook.send({files:[{ attachment: data, name: `daydun piano main raw data recording from ${startDate.toISOString()} to ${endDate.toISOString()} .txt.gz` }]});