Skip to content

Commit

Permalink
add localData to cipher instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jaasen-livefront committed Jan 23, 2025
1 parent 215ad3a commit ef451b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/common/src/vault/services/cipher.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ export class CipherService implements CipherServiceAbstraction {
const response = await this.apiService.putShareCipher(cipher.id, request);
const data = new CipherData(response, collectionIds);
await this.upsert(data);
return new Cipher(data);
return new Cipher(data, cipher.localData);

Check warning on line 809 in libs/common/src/vault/services/cipher.service.ts

View check run for this annotation

Codecov / codecov/patch

libs/common/src/vault/services/cipher.service.ts#L809

Added line #L809 was not covered by tests
}

async shareManyWithServer(
Expand Down

0 comments on commit ef451b2

Please sign in to comment.