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