Update OrgChild1Controller.ts
This commit is contained in:
parent
a937794ba9
commit
709417bd2f
1 changed files with 1 additions and 0 deletions
|
|
@ -255,6 +255,7 @@ export class OrgChild1Controller {
|
||||||
child1.lastUpdatedAt = new Date();
|
child1.lastUpdatedAt = new Date();
|
||||||
child1.orgRevisionId = String(rootIdExits?.orgRevisionId);
|
child1.orgRevisionId = String(rootIdExits?.orgRevisionId);
|
||||||
child1.orgRootId = String(rootIdExits?.id);
|
child1.orgRootId = String(rootIdExits?.id);
|
||||||
|
child1.responsibility = child1.responsibility || "";
|
||||||
this.child1Repository.merge(child1, requestBody);
|
this.child1Repository.merge(child1, requestBody);
|
||||||
await this.child1Repository.save(child1);
|
await this.child1Repository.save(child1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue