update node_id #1895

Merged
tzarebczan merged 3 commits from remove-node-id into master 2018-08-21 22:28:12 +02:00
Showing only changes of commit e232b5b0d4 - Show all commits

View file

@ -40,7 +40,7 @@ export function doInstallNew() {
const payload = { app_version: pjson.version };
Lbry.status().then(status => {
payload.app_id = status.installation_id;
payload.node_id = status.dht.node_id;
if (status.dht) payload.node_id = status.dht.node_id;
Lbry.version().then(version => {
payload.daemon_version = version.lbrynet_version;
payload.operating_system = version.os_system;