bugfix event info data :: seq : string > number
This commit is contained in:
parent
d1e5c366b0
commit
601e0861a8
@ -60,7 +60,7 @@ export const decodeInfoData: ProtocolDecoder<InfoData> = (
|
|||||||
const info = body.split(BodyStringDivider);
|
const info = body.split(BodyStringDivider);
|
||||||
if (info.length > 5) {
|
if (info.length > 5) {
|
||||||
infoList.push({
|
infoList.push({
|
||||||
seq: info[0],
|
seq: Number(info[0]),
|
||||||
type: info[1] as EventType,
|
type: info[1] as EventType,
|
||||||
senderSeq: Number(info[2]),
|
senderSeq: Number(info[2]),
|
||||||
sendDate: info[3],
|
sendDate: info[3],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user