no message
This commit is contained in:
parent
318c2ee7ba
commit
af474c085d
1 changed files with 2 additions and 2 deletions
|
|
@ -126,10 +126,10 @@ export class ProfileGovernmentHistoryController extends Controller {
|
||||||
public async govHistory(@Path() profileId: string) {
|
public async govHistory(@Path() profileId: string) {
|
||||||
const record = await this.govRepo.find({
|
const record = await this.govRepo.find({
|
||||||
order: { lastUpdatedAt: "DESC" },
|
order: { lastUpdatedAt: "DESC" },
|
||||||
where: { profileId },
|
where: { profileId: profileId },
|
||||||
});
|
});
|
||||||
|
|
||||||
record.pop();
|
// record.pop();
|
||||||
|
|
||||||
return new HttpSuccess(record);
|
return new HttpSuccess(record);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue