fix: history response
This commit is contained in:
parent
51beb3615d
commit
03ce83b898
4 changed files with 4 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ export class ProfileTrainingController extends Controller {
|
|||
const record = await this.trainingHistoryRepo.findBy({
|
||||
profileTrainingId: trainingId,
|
||||
});
|
||||
return record;
|
||||
return new HttpSuccess(record);
|
||||
}
|
||||
|
||||
@Post()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue