From 679e346bcb6c0f70f89d883a840fb8ca6686f51e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 22 Nov 2022 16:47:54 +0100 Subject: [PATCH] change old field denominator --- src/mqtt/MQTT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt/MQTT.cpp b/src/mqtt/MQTT.cpp index 97d874677..05f662444 100644 --- a/src/mqtt/MQTT.cpp +++ b/src/mqtt/MQTT.cpp @@ -347,7 +347,7 @@ std::string MQTT::downstreamPacketToJson(MeshPacket *mp) if (pb_decode_from_bytes(mp->decoded.payload.bytes, mp->decoded.payload.size, &Position_msg, &scratch)) { decoded = &scratch; msgPayload["time"] = new JSONValue((int)decoded->time); - msgPayload["pos_timestamp"] = new JSONValue((int)decoded->timestamp); + msgPayload["timestamp"] = new JSONValue((int)decoded->timestamp); msgPayload["latitude_i"] = new JSONValue((int)decoded->latitude_i); msgPayload["longitude_i"] = new JSONValue((int)decoded->longitude_i); msgPayload["altitude"] = new JSONValue((int)decoded->altitude);