diff --git a/src/common/WsTypes.cj b/src/common/WsTypes.cj index fe10cb3..f2b69bd 100644 --- a/src/common/WsTypes.cj +++ b/src/common/WsTypes.cj @@ -77,8 +77,8 @@ public class WebSocketMessage { public let `type`: MessageType public let bytes: Array - public init(`type`: MessageType, bytes: Array) { - this.`type` = `type` + public init(msgType: MessageType, bytes: Array) { + this.`type` = msgType this.bytes = bytes }