fix confirmation user
This commit is contained in:
parent
74a98d5e7d
commit
776da2b0e4
|
@ -573,9 +573,8 @@ export class UsersService {
|
||||||
|
|
||||||
|
|
||||||
if (status == 'approved') {
|
if (status == 'approved') {
|
||||||
dataUser.status_approval = supervisorUser.superior.id;
|
|
||||||
if (supervisorUser.roles.name == 'Admin') {
|
if (supervisorUser.roles.name == 'Admin') {
|
||||||
supervisorUser.superior.id;
|
dataUser.status_approval = 'Done';
|
||||||
}else {
|
}else {
|
||||||
dataUser.status_approval = supervisorUser.superior.id;
|
dataUser.status_approval = supervisorUser.superior.id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user