From 6055802f10820ee515cbb8e71455a0f943bedd72 Mon Sep 17 00:00:00 2001 From: kittapath Date: Mon, 11 Nov 2024 13:32:44 +0700 Subject: [PATCH] add relation profile edit --- src/controllers/ProfileEditEmployeeController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileEditEmployeeController.ts b/src/controllers/ProfileEditEmployeeController.ts index d8e5fe60..b0ae31bc 100644 --- a/src/controllers/ProfileEditEmployeeController.ts +++ b/src/controllers/ProfileEditEmployeeController.ts @@ -129,8 +129,8 @@ export class ProfileEditEmployeeController extends Controller { const _data = getProfileEdit.map((item) => ({ id: item.id, - idcard: item.profile.citizenId, - profileId: item.profile.id, + idcard: item.profileEmployee.citizenId, + profileId: item.profileEmployee.id, topic: item.topic, detail: item.detail, status: item.status,