diff --git a/src/controllers/ProfileInsigniaController.ts b/src/controllers/ProfileInsigniaController.ts index 852de8ec..131b5d52 100644 --- a/src/controllers/ProfileInsigniaController.ts +++ b/src/controllers/ProfileInsigniaController.ts @@ -150,7 +150,7 @@ export class ProfileInsigniaController extends Controller { history.profileInsigniaId = data.id; await this.insigniaHistoryRepo.save(history, { data: req }); - return new HttpSuccess(); + return new HttpSuccess(data.id); } @Patch("{insigniaId}") diff --git a/src/controllers/ProfileInsigniaEmployeeController.ts b/src/controllers/ProfileInsigniaEmployeeController.ts index 6db83733..455e443d 100644 --- a/src/controllers/ProfileInsigniaEmployeeController.ts +++ b/src/controllers/ProfileInsigniaEmployeeController.ts @@ -157,7 +157,7 @@ export class ProfileInsigniaEmployeeController extends Controller { history.profileInsigniaId = data.id; await this.insigniaHistoryRepo.save(history, { data: req }); - return new HttpSuccess(); + return new HttpSuccess(data.id); } @Patch("{insigniaId}") diff --git a/src/controllers/ProfileInsigniaEmployeeTempController.ts b/src/controllers/ProfileInsigniaEmployeeTempController.ts index 7c353273..d12ed3ab 100644 --- a/src/controllers/ProfileInsigniaEmployeeTempController.ts +++ b/src/controllers/ProfileInsigniaEmployeeTempController.ts @@ -149,7 +149,7 @@ export class ProfileInsigniaEmployeeTempController extends Controller { history.profileInsigniaId = data.id; await this.insigniaHistoryRepo.save(history, { data: req }); - return new HttpSuccess(); + return new HttpSuccess(data.id); } @Patch("{insigniaId}")