fix: wrong database save
This commit is contained in:
parent
03ce83b898
commit
9c79a11047
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export class ProfileInsigniaController extends Controller {
|
||||||
|
|
||||||
history.profileInsigniaId = result.id;
|
history.profileInsigniaId = result.id;
|
||||||
|
|
||||||
await this.insigniaHistoryRepo.save(data);
|
await this.insigniaHistoryRepo.save(history);
|
||||||
|
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue