fix: wrong stats count
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-04-03 14:52:43 +07:00
parent f98028fe6e
commit 0f648ab8a3

View file

@ -47,11 +47,7 @@ export class RequestDataController extends Controller {
async getRequestDataStats(@Request() req: RequestWithUser) {
const where = {
quotation: {
customerBranch: {
customer: {
registeredBranch: { OR: permissionCond(req.user) },
},
},
registeredBranch: { OR: permissionCond(req.user) },
},
} satisfies Prisma.RequestDataWhereInput;