1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Fix starting with a URL

This commit is contained in:
Ben Hardill 2016-02-20 17:50:37 +00:00
parent b33571b240
commit 71f1de7984

View File

@ -35,7 +35,7 @@ module.exports = function(RED) {
if (node.url) { if (node.url) {
try { try {
eddystoneBeacon.advertiseUrl(msg.payload, node.options); eddystoneBeacon.advertiseUrl(node.url, node.options);
} catch(e){ } catch(e){
node.error('Error setting beacon URL', e); node.error('Error setting beacon URL', e);
} }