From 63e681f5bf28cc8d48c9123306eb2756dfa94ebb Mon Sep 17 00:00:00 2001 From: bandinopla Date: Mon, 12 Feb 2024 17:24:40 -0300 Subject: [PATCH] weights are all in KG in this cvs --- src/componentes/importer/import-from-heavyapp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/componentes/importer/import-from-heavyapp.js b/src/componentes/importer/import-from-heavyapp.js index cb14eb0..604e697 100644 --- a/src/componentes/importer/import-from-heavyapp.js +++ b/src/componentes/importer/import-from-heavyapp.js @@ -105,7 +105,7 @@ function padNumber(num) { * @type {import("./import-from-csv").CVSParserConfig} */ const config = { - askWeightUnitToUser: true, + askWeightUnitToUser: false, canContinueInCaseOfError: true, schema, verifyEachRow: true, @@ -115,7 +115,7 @@ const config = { day: null, ename: null, log:"", - wunit: usekg?'kg':'lb' + wunit: 'kg' //weights in this case are in KG } },