บรรจุ map profileId

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-09 09:39:06 +07:00
parent 031ccd3aca
commit 605608ff04
3 changed files with 3 additions and 1 deletions

View file

@ -160,6 +160,7 @@ function createCommand(isRedirect: boolean) {
firstName: e.firstName,
lastName: e.lastName,
citizenId: e.citizenId,
profileId: e.profileId,
}));
const body = {
commandYear: commandYear.value,
@ -167,6 +168,7 @@ function createCommand(isRedirect: boolean) {
commandTypeId: commandType.value,
persons: data,
};
await http
.post(config.API.command + `/person`, body)
.then(async (res) => {