fix: wrong database save

This commit is contained in:
Methapon2001 2024-03-12 17:07:54 +07:00
parent 03ce83b898
commit 9c79a11047

View file

@ -63,7 +63,7 @@ export class ProfileInsigniaController extends Controller {
history.profileInsigniaId = result.id;
await this.insigniaHistoryRepo.save(data);
await this.insigniaHistoryRepo.save(history);
return new HttpSuccess();
}