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,
|
||||
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.organizationId = model.organizationId;
|
||||
collection.readOnly = model.readOnly;
|
||||
collection.externalId = model.externalId;
|
||||
collection.name = await this.cryptoService.encrypt(model.name, key);
|
||||
return collection;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue