fix typo
This commit is contained in:
parent
787b7495b3
commit
834ebaf8db
|
@ -113,7 +113,7 @@ class SmartWebSocket{
|
|||
if ("data" in jsonObj) {
|
||||
this.#eventHandler(jsonObj.event, jsonObj.data);
|
||||
} else {
|
||||
this.#eventHandler(jdonObj.event);
|
||||
this.#eventHandler(jsonObj.event);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue