Browse Source

Filter orders with userId

pull/3859/head
Matej Gerek 11 months ago
committed by Thomas Kaul
parent
commit
8db695839d
  1. 6
      apps/api/src/services/tag/tag.service.ts

6
apps/api/src/services/tag/tag.service.ts

@ -26,7 +26,11 @@ export class TagService {
include: { include: {
_count: { _count: {
select: { select: {
orders: true orders: {
where: {
userId
}
}
} }
} }
}, },

Loading…
Cancel
Save