diff --git a/backend/src/products/products.service.ts b/backend/src/products/products.service.ts index f8879e3a..ce90d281 100644 --- a/backend/src/products/products.service.ts +++ b/backend/src/products/products.service.ts @@ -35,7 +35,7 @@ export class ProductsService { async findByOwner(userId: number) { return this.prisma.product.findMany({ - where: { ownerId: userId, isPrivate: true, isActive: true }, + where: { ownerId: userId, isActive: true }, select: { id: true, name: true, canonicalName: true, categoryId: true }, orderBy: { name: 'asc' }, });