diff --git a/seeding/testSeed.ts b/seeding/testSeed.ts index 4d0babf..6cfa3f0 100644 --- a/seeding/testSeed.ts +++ b/seeding/testSeed.ts @@ -9,7 +9,7 @@ const materialData = materialRawData.split('\n').slice(2).map((row) => { name, amount: parseInt(amount), unit, - price:price===""?Math.floor(Math.random() * 10000+2000).toString():price + price:price===""?undefined:price }; });