addLogSequence

This commit is contained in:
harid 2026-03-19 10:16:09 +07:00
parent 5d68a245a8
commit 66d8ba089d
2 changed files with 15 additions and 1 deletions

View file

@ -4320,7 +4320,8 @@ export class CommandController extends Controller {
].filter(Boolean);
organizeName = names.join(" ");
}
await PostRetireToExprofile(
PostRetireToExprofile(
profile.citizenId ?? "",
profile.prefix ?? "",
profile.firstName ?? "",

View file

@ -225,6 +225,19 @@ export async function PostRetireToExprofile(
},
});
// addLogSequence(request, {
// action: "request",
// status: "success",
// description: "connected",
// request: {
// method: "POST",
// url: url,
// payload: JSON.stringify(sendData),
// response: JSON.stringify(response.data.result),
// },
// });
return res.data;
} catch (error: any) {
if (error.response?.status === 500 && retryCount < maxRetries - 1) {