diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-09 11:06:23 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-09 11:06:35 -0300 |
commit | bba84c52d6e3f14fce05f2d8316c09aaf7379753 (patch) | |
tree | f20e65322081d7c83924bcfd4c5588dce9ab31a3 | |
parent | f1e6fe17303ae21000b596b05dfb8b24163b0880 (diff) |
missing case for amount
-rw-r--r-- | packages/taler-util/src/clk.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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"); } |