1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

[PM-22204] - update revision date from server response in shareManyWithServer (#15016)

* update revision date from server response in shareManyWithServer

* return CipherResponse instead of Record
This commit is contained in:
Jordan Aasen
2025-06-02 09:06:03 -07:00
committed by GitHub
parent c215fac818
commit 6bb484dc23
3 changed files with 14 additions and 6 deletions

View File

@@ -532,8 +532,8 @@ export class ApiService implements ApiServiceAbstraction {
return new CipherResponse(r);
}
putShareCiphers(request: CipherBulkShareRequest): Promise<any> {
return this.send("PUT", "/ciphers/share", request, true, false);
async putShareCiphers(request: CipherBulkShareRequest): Promise<CipherResponse[]> {
return await this.send("PUT", "/ciphers/share", request, true, true);
}
async putCipherCollections(