update seeder

This commit is contained in:
2025-11-30 21:59:38 +03:30
parent 89ed4c90de
commit bfd2b753a8
2 changed files with 44 additions and 1 deletions
+2 -1
View File
@@ -38,6 +38,7 @@ export class FoodService {
breakfast: rest.breakfast ?? false,
noon: rest.noon ?? false,
dinner: rest.dinner ?? false,
desc: rest.desc,
// pickup/stock
stock: rest.stock ?? 0,
stockDefault: rest.stockDefault ?? 0,
@@ -54,7 +55,7 @@ export class FoodService {
prepareTime: rest.prepareTime ?? 0,
images: rest.images ?? undefined,
restaurant: restaurant,
category: category
category: category,
};
const food = this.foodRepository.create(data);