From 8723fdd81da63470885e9bec5262bd3b1c8d507f Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Thu, 3 Apr 2025 16:49:44 +0700 Subject: [PATCH] fix response orgName --- src/controllers/ProfileGovernmentController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/ProfileGovernmentController.ts b/src/controllers/ProfileGovernmentController.ts index b1abb860..617faf9a 100644 --- a/src/controllers/ProfileGovernmentController.ts +++ b/src/controllers/ProfileGovernmentController.ts @@ -299,7 +299,7 @@ export class ProfileGovernmentHistoryController extends Controller { posMaster == null || posMaster.orgChild1 == null ? null : posMaster.orgChild1.orgChild1Name, posMaster == null || posMaster.orgRoot == null ? null : posMaster.orgRoot.orgRootName, ]; - const org = fullNameParts.filter((part) => part !== undefined && part !== null).join(" "); + const org = fullNameParts.filter((part) => part !== undefined && part !== null).join("/n"); let orgShortName = ""; if (posMaster != null) { if (posMaster.orgChild1Id === null) {