populate the collection's external id when importing (#10114)
This commit is contained in:
parent
037d3ae91a
commit
d2afe221f0
|
@ -31,7 +31,7 @@ export class Collection extends Domain {
|
||||||
hidePasswords: null,
|
hidePasswords: null,
|
||||||
manage: null,
|
manage: null,
|
||||||
},
|
},
|
||||||
["id", "organizationId", "externalId", "readOnly", "hidePasswords", "manage"],
|
["id", "organizationId", "readOnly", "hidePasswords", "manage"],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,6 +100,7 @@ export class CollectionService implements CollectionServiceAbstraction {
|
||||||
collection.id = model.id;
|
collection.id = model.id;
|
||||||
collection.organizationId = model.organizationId;
|
collection.organizationId = model.organizationId;
|
||||||
collection.readOnly = model.readOnly;
|
collection.readOnly = model.readOnly;
|
||||||
|
collection.externalId = model.externalId;
|
||||||
collection.name = await this.cryptoService.encrypt(model.name, key);
|
collection.name = await this.cryptoService.encrypt(model.name, key);
|
||||||
return collection;
|
return collection;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue