1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 15:23:33 +00:00

[AC-1340] Fixed cipher restore for provider users by using the restore-admin endpoints (#5255)

This commit is contained in:
Rui Tomé
2023-04-21 12:22:34 +01:00
committed by GitHub
parent 315c4ffc76
commit 89c8c48cd4
4 changed files with 9 additions and 5 deletions

View File

@@ -75,6 +75,6 @@ export abstract class CipherService {
restore: (
cipher: { id: string; revisionDate: string } | { id: string; revisionDate: string }[]
) => Promise<any>;
restoreWithServer: (id: string) => Promise<any>;
restoreWithServer: (id: string, asAdmin?: boolean) => Promise<any>;
restoreManyWithServer: (ids: string[]) => Promise<any>;
}