From 35486efe7793e0eeb87c78fa23a2c2d6850a47d4 Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Mon, 22 Feb 2021 14:21:23 +0100 Subject: [PATCH] Add instance id to ui-config endpoint --- src/lib/services/version-service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/services/version-service.js b/src/lib/services/version-service.js index 789c07e94d..2cc8a195d8 100644 --- a/src/lib/services/version-service.js +++ b/src/lib/services/version-service.js @@ -30,6 +30,7 @@ class VersionService { async checkLatestVersion() { if (this.enabled) { const { id } = await this.settingStore.get('instanceInfo'); + this.instanceId = id; try { const data = await fetch(this.versionCheckUrl, { method: 'POST', @@ -55,6 +56,7 @@ class VersionService { current: this.current, latest: this.latest || {}, isLatest: this.isLatest, + instanceId: this.instanceId, }; } }