From 0bb6ea225fbe1030871d85a2e980c885d2f002ad Mon Sep 17 00:00:00 2001 From: raipen Date: Fri, 24 Nov 2023 01:18:55 +0900 Subject: [PATCH] Fix: test seed water price --- seeding/testSeed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }; });