From 4a8ef7c77ce27b1e68dd19d77c0390cd33b44d38 Mon Sep 17 00:00:00 2001 From: bennykok Date: Tue, 4 Jun 2024 19:54:40 -0700 Subject: [PATCH] fix(plugin): event --- web-plugin/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;