parent
754dfe9d80
commit
21ca15fb84
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 0a0cdaa7fdfb7322c73258b270105c8fb6552b99
|
||||
Subproject commit 3c872e56f27ae78fb922b765d7601886b5c39f78
|
|
@ -30,7 +30,7 @@ import { CipherView } from 'jslib/models/view/cipherView';
|
|||
import { CollectionView } from 'jslib/models/view/collectionView';
|
||||
import { FolderView } from 'jslib/models/view/folderView';
|
||||
|
||||
import { CipherString } from 'jslib/models/domain/cipherString';
|
||||
import { EncString } from 'jslib/models/domain/encString';
|
||||
|
||||
import { Response } from 'jslib/cli/models/response';
|
||||
import { MessageResponse } from 'jslib/cli/models/response/messageResponse';
|
||||
|
@ -364,7 +364,7 @@ export class GetCommand extends DownloadCommand {
|
|||
const response = await this.apiService.getCollectionDetails(options.organizationid, id);
|
||||
const decCollection = new CollectionView(response);
|
||||
decCollection.name = await this.cryptoService.decryptToUtf8(
|
||||
new CipherString(response.name), orgKey);
|
||||
new EncString(response.name), orgKey);
|
||||
const groups = response.groups == null ? null :
|
||||
response.groups.map(g => new SelectionReadOnly(g.id, g.readOnly, g.hidePasswords));
|
||||
const res = new OrganizationCollectionResponse(decCollection, groups);
|
||||
|
|
Loading…
Reference in New Issue