bugfix event info data :: seq : string > number

This commit is contained in:
leejh 2019-10-14 17:10:29 +09:00
parent d1e5c366b0
commit 601e0861a8

View File

@ -60,7 +60,7 @@ export const decodeInfoData: ProtocolDecoder<InfoData> = (
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],