addLogSequence
This commit is contained in:
parent
5d68a245a8
commit
66d8ba089d
2 changed files with 15 additions and 1 deletions
|
|
@ -4320,7 +4320,8 @@ export class CommandController extends Controller {
|
|||
].filter(Boolean);
|
||||
organizeName = names.join(" ");
|
||||
}
|
||||
await PostRetireToExprofile(
|
||||
|
||||
PostRetireToExprofile(
|
||||
profile.citizenId ?? "",
|
||||
profile.prefix ?? "",
|
||||
profile.firstName ?? "",
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue