fix: history response

This commit is contained in:
Methapon2001 2024-03-12 17:01:02 +07:00
parent 51beb3615d
commit 03ce83b898
4 changed files with 4 additions and 4 deletions

View file

@ -41,7 +41,7 @@ export class ProfileTrainingController extends Controller {
const record = await this.trainingHistoryRepo.findBy({
profileTrainingId: trainingId,
});
return record;
return new HttpSuccess(record);
}
@Post()