From af474c085d678c5cce2ac02066fefacaef45f33b Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 29 Mar 2024 14:01:44 +0700 Subject: [PATCH] no message --- src/controllers/ProfileGovernmentController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileGovernmentController.ts b/src/controllers/ProfileGovernmentController.ts index d30d63b9..6a988c0d 100644 --- a/src/controllers/ProfileGovernmentController.ts +++ b/src/controllers/ProfileGovernmentController.ts @@ -126,10 +126,10 @@ export class ProfileGovernmentHistoryController extends Controller { public async govHistory(@Path() profileId: string) { const record = await this.govRepo.find({ order: { lastUpdatedAt: "DESC" }, - where: { profileId }, + where: { profileId: profileId }, }); - record.pop(); + // record.pop(); return new HttpSuccess(record); }