From e4932a94e3362bd241e8855cccb89ad1bcfd1dc2 Mon Sep 17 00:00:00 2001 From: devops Date: Mon, 12 Oct 2026 18:46:34 +0000 Subject: [PATCH] =?UTF-8?q?fix(seed):=20standardize=20suitableFor=20to=20?= =?UTF-8?q?=C2=AB=D8=B3=DA=AF=20=D9=88=20=DA=AF=D8=B1=D8=A8=D9=87=C2=BB=20?= =?UTF-8?q?matching=20production=20database=20enum?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/prisma/seed-products.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/prisma/seed-products.ts b/backend/prisma/seed-products.ts index d8deeb30..8ee5fcfb 100644 --- a/backend/prisma/seed-products.ts +++ b/backend/prisma/seed-products.ts @@ -22,10 +22,10 @@ function determineSuitableFor(name: string, description: string): string { text.includes('hund') || text.includes('توله') || text.includes('dog'); - if (hasCat && hasDog) return 'هر دو'; + if (hasCat && hasDog) return 'سگ و گربه'; if (hasCat) return 'گربه'; if (hasDog) return 'سگ'; - return 'هر دو'; + return 'سگ و گربه'; } function parseSize(size: string): { unit: string; packageSize: number } {