fix(plugin): event

This commit is contained in:
bennykok 2024-06-04 19:54:40 -07:00
parent 5b8dac37fb
commit 4a8ef7c77c

View File

@ -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;