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:
parent
b33571b240
commit
71f1de7984
@ -35,7 +35,7 @@ module.exports = function(RED) {
|
||||
|
||||
if (node.url) {
|
||||
try {
|
||||
eddystoneBeacon.advertiseUrl(msg.payload, node.options);
|
||||
eddystoneBeacon.advertiseUrl(node.url, node.options);
|
||||
} catch(e){
|
||||
node.error('Error setting beacon URL', e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user