1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-17 16:53:20 +00:00

Rename CipherString and CipherArrayBuffer to Enc (#352)

This commit is contained in:
Matt Gibson
2021-04-20 19:16:19 -05:00
committed by GitHub
parent a5ccca05da
commit 3a1087456f
44 changed files with 200 additions and 200 deletions

View File

@@ -3,7 +3,7 @@ import { CipherType } from '../../enums/cipherType';
import { CipherView } from '../view/cipherView';
import { Cipher as CipherDomain } from '../domain/cipher';
import { CipherString } from '../domain/cipherString';
import { EncString } from '../domain/encString';
import { Card } from './card';
import { Field } from './field';
@@ -71,8 +71,8 @@ export class Cipher {
if (domain.organizationId == null) {
domain.organizationId = req.organizationId;
}
domain.name = req.name != null ? new CipherString(req.name) : null;
domain.notes = req.notes != null ? new CipherString(req.notes) : null;
domain.name = req.name != null ? new EncString(req.name) : null;
domain.notes = req.notes != null ? new EncString(req.notes) : null;
domain.favorite = req.favorite;
if (req.fields != null) {