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);
|
].filter(Boolean);
|
||||||
organizeName = names.join(" ");
|
organizeName = names.join(" ");
|
||||||
}
|
}
|
||||||
await PostRetireToExprofile(
|
|
||||||
|
PostRetireToExprofile(
|
||||||
profile.citizenId ?? "",
|
profile.citizenId ?? "",
|
||||||
profile.prefix ?? "",
|
profile.prefix ?? "",
|
||||||
profile.firstName ?? "",
|
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;
|
return res.data;
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
if (error.response?.status === 500 && retryCount < maxRetries - 1) {
|
if (error.response?.status === 500 && retryCount < maxRetries - 1) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue