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