Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Somavarapu <sasomava@microsoft.com>2020-05-29 10:11:46 +0300
committerSandeep Somavarapu <sasomava@microsoft.com>2020-05-29 10:11:46 +0300
commit5bc69ea145fc91a7ceab283a1a97d35b2a9fd738 (patch)
tree612a840af4a3893c20c4f049ad6904c899dbd061
parent4f5925e8ccb83910622319038422f3e006c800fc (diff)
Fix #96170
-rw-r--r--src/vs/platform/userDataSync/common/abstractSynchronizer.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/platform/userDataSync/common/abstractSynchronizer.ts b/src/vs/platform/userDataSync/common/abstractSynchronizer.ts
index d8d5d0dd876..536613d4001 100644
--- a/src/vs/platform/userDataSync/common/abstractSynchronizer.ts
+++ b/src/vs/platform/userDataSync/common/abstractSynchronizer.ts
@@ -378,8 +378,8 @@ export abstract class AbstractSynchroniser extends Disposable {
}
protected async updateRemoteUserData(content: string, ref: string | null): Promise<IRemoteUserData> {
- await this.currentMachineIdPromise;
- const syncData: ISyncData = { version: this.version, content };
+ const machineId = await this.currentMachineIdPromise;
+ const syncData: ISyncData = { version: this.version, machineId, content };
ref = await this.userDataSyncStoreService.write(this.resource, JSON.stringify(syncData), ref);
return { ref, syncData };
}