mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
save share response
This commit is contained in:
@@ -374,8 +374,9 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
return this.send('PUT', '/ciphers/move', request, true, false);
|
||||
}
|
||||
|
||||
putShareCipher(id: string, request: CipherShareRequest): Promise<any> {
|
||||
return this.send('PUT', '/ciphers/' + id + '/share', request, true, false);
|
||||
async putShareCipher(id: string, request: CipherShareRequest): Promise<CipherResponse> {
|
||||
const r = await this.send('PUT', '/ciphers/' + id + '/share', request, true, true);
|
||||
return new CipherResponse(r);
|
||||
}
|
||||
|
||||
putShareCiphers(request: CipherBulkShareRequest): Promise<any> {
|
||||
|
||||
Reference in New Issue
Block a user