fix: filter by supperior
This commit is contained in:
parent
1886ef160c
commit
faad1b6ba7
|
@ -149,11 +149,11 @@ export class UsersService {
|
|||
});
|
||||
}
|
||||
|
||||
if(type){
|
||||
if(type == 'partner'){
|
||||
baseQuery.where('user.partner_id is not null')
|
||||
if (type) {
|
||||
if (type == 'partner') {
|
||||
baseQuery.where('user.partner_id is not null');
|
||||
} else {
|
||||
baseQuery.where('user.partner_id is null')
|
||||
baseQuery.where('user.partner_id is null');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user