set enablement on sync machines

This commit is contained in:
Sandeep Somavarapu
2020-06-16 17:29:34 +02:00
parent ad45630818
commit 8fe3a24489
4 changed files with 7 additions and 8 deletions

View File

@@ -38,8 +38,8 @@ class UserDataSyncMachinesService extends Disposable implements IUserDataSyncMac
return this.channel.call('renameMachine', [machineId, name]);
}
disableMachine(machineId: string): Promise<void> {
return this.channel.call('disableMachine', [machineId]);
setEnablement(machineId: string, enabled: boolean): Promise<void> {
return this.channel.call('setEnablement', [machineId, enabled]);
}
}