mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Get full cipher details when update cipher notification is received (#3063)
This commit is contained in:
@@ -589,6 +589,11 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return new CipherResponse(r);
|
||||
}
|
||||
|
||||
async getFullCipherDetails(id: string): Promise<CipherResponse> {
|
||||
const r = await this.send("GET", "/ciphers/" + id + "/details", null, true, true);
|
||||
return new CipherResponse(r);
|
||||
}
|
||||
|
||||
async getCipherAdmin(id: string): Promise<CipherResponse> {
|
||||
const r = await this.send("GET", "/ciphers/" + id + "/admin", null, true, true);
|
||||
return new CipherResponse(r);
|
||||
|
||||
Reference in New Issue
Block a user