From bd0bd85afc1ca36428243db31fbd7a9bd034ab3d Mon Sep 17 00:00:00 2001 From: NoobishSVK Date: Mon, 5 Feb 2024 21:21:42 +0100 Subject: [PATCH] quickfix for tx id --- datahandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datahandler.js b/datahandler.js index 5d9880a..0ee9019 100644 --- a/datahandler.js +++ b/datahandler.js @@ -342,7 +342,7 @@ function handleData(ws, receivedData) { // Get the received TX info const currentTx = fetchTx(dataToSend.freq, dataToSend.pi, dataToSend.ps); - if(currentTx.station !== undefined) { + if(currentTx?.station !== undefined) { dataToSend.txInfo = { station: currentTx.station, pol: currentTx.pol,