fix test
This commit is contained in:
parent
c27387f903
commit
6c8d1586ce
1 changed files with 2 additions and 2 deletions
|
|
@ -4924,7 +4924,7 @@ export class PositionController extends Controller {
|
||||||
await CreatePosMasterHistoryOfficer(posMasterOld.id, request);
|
await CreatePosMasterHistoryOfficer(posMasterOld.id, request);
|
||||||
}
|
}
|
||||||
await this.posMasterRepository.save(posMaster);
|
await this.posMasterRepository.save(posMaster);
|
||||||
await CreatePosMasterHistoryOfficer(posMaster.id, request);
|
|
||||||
|
|
||||||
const positionNew = await this.positionRepository.findOne({
|
const positionNew = await this.positionRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
|
|
@ -4940,7 +4940,7 @@ export class PositionController extends Controller {
|
||||||
await this.profileRepository.save(profile);
|
await this.profileRepository.save(profile);
|
||||||
await this.positionRepository.save(positionNew);
|
await this.positionRepository.save(positionNew);
|
||||||
}
|
}
|
||||||
|
await CreatePosMasterHistoryOfficer(posMaster.id, request);
|
||||||
return new HttpSuccess();
|
return new HttpSuccess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue