fix remove await and addLogSequence of exprofile system
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m27s

This commit is contained in:
Warunee Tamkoo 2026-03-19 11:13:27 +07:00
parent 66d8ba089d
commit ff752da7dd
5 changed files with 186 additions and 171 deletions

View file

@ -3011,7 +3011,7 @@ export class ProfileController extends Controller {
};
const orgRoot = await this.orgRootRepo.findOne({
select: { id: true, isDeputy: true },
where: {
where: {
id: Not(posMaster.orgRootId ?? ""),
isDeputy: true,
orgRevision: { orgRevisionIsCurrent: true, orgRevisionIsDraft: false },
@ -11013,7 +11013,8 @@ export class ProfileController extends Controller {
].filter(Boolean);
organizeName = names.join(" ");
}
await PostRetireToExprofile(
PostRetireToExprofile(
request,
profile.citizenId ?? "",
profile.prefix ?? "",
profile.firstName ?? "",