Skip to content

Commit efe2574

Browse files
committed
revert files
1 parent 379b57a commit efe2574

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/lib/mqtt.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ class MqttQueue {
7171
} else if (data.portnum === Protobuf.Portnums.PortNum.TEXT_MESSAGE_APP) {
7272
//cache in redis
7373
redis.set(
74-
`mqttMessage-${packet.gatewayId}-${packet.channelId}-${Date().now()}`,
74+
`mqttMessage-${packet.gatewayId}-${
75+
packet.channelId
76+
}-${new Date().getTime()}`,
7577
JSON.stringify({
7678
from: packet.packet.from,
7779
to: packet.packet.to,

src/services/gateway.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// import {} from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_pb.js";
1+
import {} from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_pb.js";
22
import { GatewayStreamResponse } from "@buf/meshtastic_api.bufbuild_es/protobufs/gateway/v1/gateway_service_pb.js";
33
import type { GatewayService } from "@buf/meshtastic_api.connectrpc_es/protobufs/gateway/v1/gateway_service_connect.js";
44
import { Timestamp } from "@bufbuild/protobuf";

0 commit comments

Comments
 (0)