get id create
This commit is contained in:
parent
871e2e5247
commit
0b8f9b6c23
36 changed files with 42 additions and 46 deletions
|
|
@ -110,7 +110,7 @@ export class ProfileDutyController extends Controller {
|
|||
history.profileDutyId = data.id;
|
||||
await this.dutyHistoryRepository.save(history, { data: req });
|
||||
//setLogDataDiff(req, { before, after: history });
|
||||
return new HttpSuccess();
|
||||
return new HttpSuccess(data.id);
|
||||
}
|
||||
|
||||
@Patch("{dutyId}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue