mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
Add instance id to ui-config endpoint
This commit is contained in:
parent
73239d4062
commit
35486efe77
@ -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,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user