mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-05-25 10:44:00 +00:00
fix: packet-store insert() returned undefined after insertPacket removal
Was returning undeclared 'id' variable. Now returns observationId or transmissionId. This broke all MQTT packet ingestion on prod.
This commit is contained in:
+1
-1
@@ -442,7 +442,7 @@ class PacketStore {
|
||||
this._evict();
|
||||
this.stats.inserts++;
|
||||
}
|
||||
return id;
|
||||
return observationId || transmissionId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user