From e6fb81172649cc02a48041bed307eefac95fa618 Mon Sep 17 00:00:00 2001 From: George Suntres Date: Mon, 11 May 2026 16:05:44 -0400 Subject: [PATCH] Fix the fix --- src/Currency.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Currency.mjs b/src/Currency.mjs index d0e2c35..51b20b2 100644 --- a/src/Currency.mjs +++ b/src/Currency.mjs @@ -64,7 +64,7 @@ export class Currency { let finalValue if(typeof value === 'number') { finalValue = value - } else if(typeof value === 'object' && value.value && value.currency) { + } else if(typeof value === 'object' && !isNil(value.value) && value.currency) { finalValue = value.value finalConfig.currency = value.currency }