fix: system role not get filtered
This commit is contained in:
parent
b2b0d15efd
commit
68f9dc203e
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ export class CustomerBranchController extends Controller {
|
|||
: undefined,
|
||||
AND: {
|
||||
customer: isSystem(req.user)
|
||||
? undefined
|
||||
? { registeredBranchId }
|
||||
: {
|
||||
registeredBranch: {
|
||||
AND: { id: registeredBranchId },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue