fix(plugin): event
This commit is contained in:
parent
5b8dac37fb
commit
4a8ef7c77c
@ -15,7 +15,7 @@ function sendEventToCD(event, data) {
|
|||||||
|
|
||||||
function dispatchAPIEventData(data) {
|
function dispatchAPIEventData(data) {
|
||||||
const msg = JSON.parse(data);
|
const msg = JSON.parse(data);
|
||||||
switch (msg.type) {
|
switch (msg.event) {
|
||||||
case "status":
|
case "status":
|
||||||
if (msg.data.sid) {
|
if (msg.data.sid) {
|
||||||
// this.clientId = msg.data.sid;
|
// this.clientId = msg.data.sid;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user