1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

Add fullSync on successful import (#5500)

Analog to https://github.com/bitwarden/clients/pull/4380 we also need to add a full sync to the import.command, so that when a user calls `bw list items` those are populated.
This commit is contained in:
Daniel James Smith
2023-05-30 23:05:45 +02:00
committed by GitHub
parent 1247463e29
commit 4a552343f1
2 changed files with 9 additions and 2 deletions

View File

@@ -442,7 +442,11 @@ export class VaultProgram extends Program {
})
.action(async (format, filepath, options) => {
await this.exitIfLocked();
const command = new ImportCommand(this.main.importService, this.main.organizationService);
const command = new ImportCommand(
this.main.importService,
this.main.organizationService,
this.main.syncService
);
const response = await command.run(format, filepath, options);
this.processResponse(response);
});