From: Jérôme Benoit Date: Mon, 23 Aug 2021 15:11:17 +0000 (+0200) Subject: Revert wrong returned value after a test. X-Git-Tag: v1.0.40~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=95926c9b54dbbe8b564724b0de42b963f9067653;p=e-mobility-charging-stations-simulator.git Revert wrong returned value after a test. Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index f453c822..5da54a2e 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -58,7 +58,7 @@ export default class Utils { return 0; } if (Number.isSafeInteger(value)) { - return changedValue; + return value as number; } // Check if (Utils.isString(value)) {