From 709417bd2f515d5804ffcf662610d80553f5e9d0 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Fri, 7 Jun 2024 12:42:04 +0700 Subject: [PATCH] Update OrgChild1Controller.ts --- src/controllers/OrgChild1Controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/OrgChild1Controller.ts b/src/controllers/OrgChild1Controller.ts index 52f63ce6..982ec5e7 100644 --- a/src/controllers/OrgChild1Controller.ts +++ b/src/controllers/OrgChild1Controller.ts @@ -255,6 +255,7 @@ export class OrgChild1Controller { child1.lastUpdatedAt = new Date(); child1.orgRevisionId = String(rootIdExits?.orgRevisionId); child1.orgRootId = String(rootIdExits?.id); + child1.responsibility = child1.responsibility || ""; this.child1Repository.merge(child1, requestBody); await this.child1Repository.save(child1);