mirror of
https://github.com/Roslund/meshtastic-map.git
synced 2026-03-28 17:43:03 +01:00
Exclude map reports from from portnum-counts
This commit is contained in:
@@ -300,6 +300,7 @@ router.get('/portnum-counts2', async (req, res) => {
|
||||
created_at: { gte: startTime },
|
||||
...(Number.isInteger(nodeId) ? { from: nodeId } : {}),
|
||||
packet_id: { not: null },
|
||||
portnum: { not: 73 }, // Exclude portnum 73 (e.g. map reports)
|
||||
},
|
||||
select: {from: true, packet_id: true, portnum: true, channel_id: true}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user