fix(seed): standardize suitableFor to «سگ و گربه» matching production database enum
This commit is contained in:
1 parent
deea1016ab
commit
e4932a94e3
1 file changed
+2
-2
@@ -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 } {
|
||||
|
||||
Reference in new issue
Block a user