Skip to content

Commit

Permalink
Fix for multiple istances of the module
Browse files Browse the repository at this point in the history
  • Loading branch information
gprezza authored Jan 17, 2021
1 parent cff3cfe commit 7b2fc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ module.exports = NodeHelper.create({
});

// Return trips to requester
self.sendSocketNotification("RETURN_TRIPS", {
self.sendSocketNotification("RETURN_TRIPS" + payload.config.stop_from_ID, {
trips : trips
});

});
return;
}
},
});
});

0 comments on commit 7b2fc4a

Please sign in to comment.