Fix
This commit is contained in:
@ -45,7 +45,7 @@ export class WebSocketPayload {
|
||||
return null;
|
||||
}
|
||||
|
||||
let wsEvent = <keyof typeof WebSocketEvent> rawPayload.event;
|
||||
let wsEvent = WebSocketEvent[<keyof typeof WebSocketEvent> rawPayload.event];
|
||||
|
||||
return new WebSocketPayload(wsEvent, rawPayload.status, rawPayload.data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user