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); }