From f0334c69fcd6b4211b82a916d44aa7631a088cff Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 9 Jan 2026 15:53:23 +0700 Subject: [PATCH] fix bug: report time record (rollback code group) --- src/controllers/OrganizationDotnetController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/OrganizationDotnetController.ts b/src/controllers/OrganizationDotnetController.ts index 888e69ad..706cb318 100644 --- a/src/controllers/OrganizationDotnetController.ts +++ b/src/controllers/OrganizationDotnetController.ts @@ -6174,7 +6174,7 @@ export class OrganizationDotnetController extends Controller { // group by ancestorDNA แล้วเลือก create_at ล่าสุด const grouped = new Map(); for (const item of profile) { - const key = `${item.profileId}`; + const key = `${item.ancestorDNA}`; if (!grouped.has(key)) { grouped.set(key, item); } else {