mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-30 08:10:34 +01:00
force sync option
This commit is contained in:
parent
4f3f84539d
commit
4166efceca
@ -9,7 +9,7 @@ export class SyncCommand {
|
||||
|
||||
async run(cmd: program.Command): Promise<Response> {
|
||||
try {
|
||||
const result = await this.syncService.fullSync(false);
|
||||
const result = await this.syncService.fullSync(cmd.force || false);
|
||||
return Response.success();
|
||||
} catch (e) {
|
||||
return Response.success(e.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user