Skip to content

Commit 408abe1

Browse files
authored
Update hep-proto.js
1 parent 084f1f3 commit 408abe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hep-proto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class HepToLineProtocolConverter {
3636
protocol_header: decoded.rcinfo,
3737
create_date: this.getHepTimestamp(decoded.rcinfo),
3838
raw: decoded.payload || "",
39-
type: decoded.rcinfo.payload_type || decoded.rcinfo.payloadType || 0
39+
type: decoded.rcinfo.payload_type || decoded.rcinfo.proto_type || 0
4040
};
4141

4242
// Convert to Line Protocol

0 commit comments

Comments
 (0)