From bba84c52d6e3f14fce05f2d8316c09aaf7379753 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 9 Nov 2023 11:06:23 -0300 Subject: missing case for amount --- packages/taler-util/src/clk.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/taler-util/src/clk.ts') diff --git a/packages/taler-util/src/clk.ts b/packages/taler-util/src/clk.ts index f9f260f83..9e80a84c7 100644 --- a/packages/taler-util/src/clk.ts +++ b/packages/taler-util/src/clk.ts @@ -340,6 +340,8 @@ export namespace clk { myArgs[def.name] = Number.parseInt(value); } else if (def.conv == null || def.conv === STRING) { myArgs[def.name] = value; + } else if (def.conv == null || def.conv === AMOUNT) { + myArgs[def.name] = value; } else { throw Error("unknown converter"); } -- cgit v1.2.3