diff options
| author | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-15 11:18:35 +0700 |
|---|---|---|
| committer | Mqdd <ahmadmiqdad27@gmail.com> | 2026-02-15 11:18:35 +0700 |
| commit | 2af2659018d08cd8685a6e727994ab76f0735189 (patch) | |
| tree | 5d1327d8269c9e2f625ec809ac31beb4fb4b08e4 /src/app/api/product/route.tsx | |
| parent | d131b3cc79148b9f72a9bfe2fab3a0c6b3dd092d (diff) | |
<Miqdad> Locatorlocator
Diffstat (limited to 'src/app/api/product/route.tsx')
| -rw-r--r-- | src/app/api/product/route.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/api/product/route.tsx b/src/app/api/product/route.tsx index de8a482..23bb065 100644 --- a/src/app/api/product/route.tsx +++ b/src/app/api/product/route.tsx @@ -36,7 +36,7 @@ export async function GET(request: NextRequest) { const products = await prisma.product.findMany({ where, - include: { company: true }, + include: { company: true, location: true }, take: PAGE_SIZE, skip: (intPage - 1) * PAGE_SIZE, orderBy: { name: 'asc' } |
