fix: wrong field
This commit is contained in:
parent
ba74eccec7
commit
be28445f46
1 changed files with 1 additions and 1 deletions
|
|
@ -281,7 +281,7 @@ export class EmployeeController extends Controller {
|
|||
{ lastNameEN: { contains: query }, zipCode, gender, ...filterStatus(status) },
|
||||
],
|
||||
AND: {
|
||||
customerBranch: customerId ? { id: customerId } : undefined,
|
||||
customerBranch: customerId ? { customerId: customerId } : undefined,
|
||||
},
|
||||
} satisfies Prisma.EmployeeWhereInput;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue