From 2af2659018d08cd8685a6e727994ab76f0735189 Mon Sep 17 00:00:00 2001 From: Mqdd Date: Sun, 15 Feb 2026 11:18:35 +0700 Subject: Locator --- src/app/api/product/route.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app/api/product/route.tsx') 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' } -- cgit v1.2.3