Merge branch 'development' into 'devops-staging'
fix: approve user See merge request empatnusabangsa/ppob/ppob-backend!103
This commit is contained in:
commit
c639944147
|
@ -308,7 +308,7 @@ export class UsersService {
|
||||||
const baseQuery = this.usersRepository
|
const baseQuery = this.usersRepository
|
||||||
.createQueryBuilder('user')
|
.createQueryBuilder('user')
|
||||||
.where(
|
.where(
|
||||||
'user.id != :id and user.superior_id = :superior and status_approval = :status and is_rejected is false',
|
'user.id != :id and status_approval = :status and is_rejected is false',
|
||||||
{
|
{
|
||||||
id: superrior.userId,
|
id: superrior.userId,
|
||||||
status: superrior.userId,
|
status: superrior.userId,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user