get id profile insignia
This commit is contained in:
parent
8b699f6441
commit
871e2e5247
3 changed files with 3 additions and 3 deletions
|
|
@ -150,7 +150,7 @@ export class ProfileInsigniaController extends Controller {
|
||||||
history.profileInsigniaId = data.id;
|
history.profileInsigniaId = data.id;
|
||||||
await this.insigniaHistoryRepo.save(history, { data: req });
|
await this.insigniaHistoryRepo.save(history, { data: req });
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess(data.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Patch("{insigniaId}")
|
@Patch("{insigniaId}")
|
||||||
|
|
|
||||||
|
|
@ -157,7 +157,7 @@ export class ProfileInsigniaEmployeeController extends Controller {
|
||||||
history.profileInsigniaId = data.id;
|
history.profileInsigniaId = data.id;
|
||||||
await this.insigniaHistoryRepo.save(history, { data: req });
|
await this.insigniaHistoryRepo.save(history, { data: req });
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess(data.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Patch("{insigniaId}")
|
@Patch("{insigniaId}")
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,7 @@ export class ProfileInsigniaEmployeeTempController extends Controller {
|
||||||
history.profileInsigniaId = data.id;
|
history.profileInsigniaId = data.id;
|
||||||
await this.insigniaHistoryRepo.save(history, { data: req });
|
await this.insigniaHistoryRepo.save(history, { data: req });
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess(data.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Patch("{insigniaId}")
|
@Patch("{insigniaId}")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue