1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

support org/collection selection on cipher add

This commit is contained in:
Kyle Spearrin
2018-10-19 11:20:04 -04:00
parent b1ead78e34
commit 194374ea73
4 changed files with 50 additions and 11 deletions

View File

@@ -6,8 +6,8 @@ export class CipherCreateRequest {
cipher: CipherRequest;
collectionIds: string[];
constructor(cipher: Cipher, collectionIds: string[]) {
constructor(cipher: Cipher) {
this.cipher = new CipherRequest(cipher);
this.collectionIds = collectionIds;
this.collectionIds = cipher.collectionIds;
}
}