ทะเบียนประวัติ: ข้อมูลผลงาน แก้ reqBody
This commit is contained in:
parent
de9ad67685
commit
051d4bf387
6 changed files with 12 additions and 10 deletions
|
|
@ -489,7 +489,7 @@ async function addEditData(editStatus: boolean = false) {
|
|||
: config.API.profileNewInsign;
|
||||
const method = editStatus ? "patch" : "post";
|
||||
const reqBody: RequestItemsObject = {
|
||||
profileId: profileId.value,
|
||||
profileId: editStatus ? undefined : profileId.value,
|
||||
isActive: insigniaData.isActive,
|
||||
year: insigniaData.year,
|
||||
no: insigniaData.no,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue