From 601e0861a8753e1384a4e4bf29e9ea99a1e8a455 Mon Sep 17 00:00:00 2001 From: leejh Date: Mon, 14 Oct 2019 17:10:29 +0900 Subject: [PATCH] bugfix event info data :: seq : string > number --- .../ucap-webmessenger-protocol-event/src/lib/protocols/info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ucap-webmessenger-protocol-event/src/lib/protocols/info.ts b/projects/ucap-webmessenger-protocol-event/src/lib/protocols/info.ts index 80760f3c..9c3c9d9a 100644 --- a/projects/ucap-webmessenger-protocol-event/src/lib/protocols/info.ts +++ b/projects/ucap-webmessenger-protocol-event/src/lib/protocols/info.ts @@ -60,7 +60,7 @@ export const decodeInfoData: ProtocolDecoder = ( const info = body.split(BodyStringDivider); if (info.length > 5) { infoList.push({ - seq: info[0], + seq: Number(info[0]), type: info[1] as EventType, senderSeq: Number(info[2]), sendDate: info[3],