fix(seed): standardize suitableFor to «سگ و گربه» matching production database enum
Deploy Canina / deploy (push) Failing after 57s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

This commit is contained in:
devops committed 2026-10-12 18:46:34 +00:00
1 parent deea1016ab
commit e4932a94e3
1 file changed
+2 -2
+2 -2
View File
@@ -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 } {