fix and test
This commit is contained in:
parent
b468d7bfe9
commit
f035713e34
2 changed files with 2 additions and 2 deletions
|
|
@ -10790,7 +10790,7 @@ export class ProfileController extends Controller {
|
|||
setLogDataDiff(request, { before, after: profile });
|
||||
if (requestBody.isLeave == true) {
|
||||
if(orgRevisionRef){
|
||||
await CreatePosMasterHistoryOfficer(orgRevisionRef.id, request);
|
||||
await CreatePosMasterHistoryOfficer(orgRevisionRef.id, request, "DELETE");
|
||||
}
|
||||
await removeProfileInOrganize(profile.id, "OFFICER");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue