remove unused variable
All checks were successful
Node.js CI / build-openmct (push) Successful in 1m26s

This commit is contained in:
saji 2024-03-08 22:00:18 -06:00
parent 48b40ee30f
commit 1e72b93143

View file

@ -280,7 +280,7 @@ function TelemRealtimeProvider() {
subscribe: function (dObj, callback) { subscribe: function (dObj, callback) {
// identifier is packetname.fieldname. we add the packet name to the set. // identifier is packetname.fieldname. we add the packet name to the set.
const key = dObj.identifier.key const key = dObj.identifier.key
const [pktName, _] = key.split('.') const pktName = key.split('.')[0]
// add our callback to the dictionary, // add our callback to the dictionary,
// add the packet name to the set // add the packet name to the set
callbacks[key] = callback callbacks[key] = callback