update seeder
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user