diff --git a/web-plugin/index.js b/web-plugin/index.js index a8d8adb..009201e 100644 --- a/web-plugin/index.js +++ b/web-plugin/index.js @@ -15,7 +15,7 @@ function sendEventToCD(event, data) { function dispatchAPIEventData(data) { const msg = JSON.parse(data); - switch (msg.type) { + switch (msg.event) { case "status": if (msg.data.sid) { // this.clientId = msg.data.sid;