From d11ec0a1ca8bb06704358d996fedcfd83e9e7199 Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 19 Mar 2019 03:51:14 -0500 Subject: [PATCH] Remove incorrect constant --- src/platforms/electron/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platforms/electron/index.js b/src/platforms/electron/index.js index 3eeb743b2..b84e397b2 100644 --- a/src/platforms/electron/index.js +++ b/src/platforms/electron/index.js @@ -265,7 +265,7 @@ ipcMain.on('version-info-requested', () => { const req = https.get({ hostname: 'api.github.com', path: '/repos/lbryio/lbry-desktop/releases/latest', - headers: { 'user-agent': 'LBRY/0.29.4' }, + headers: { 'user-agent': `LBRY/${localVersion}` }, }, res => { if (res.statusCode === 301 || res.statusCode === 302) { requestLatestRelease(res.headers.location, true);