summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay.ts
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-11-08 01:20:50 +0100
committerChristian Grothoff <christian@grothoff.org>2020-11-08 01:20:50 +0100
commitc5b25d1cbd459ed90af3e28c9f8d0899a3a28848 (patch)
tree0a8c7124f71be8afb91022868771d22395814db2 /packages/taler-wallet-core/src/operations/pay.ts
parentc90b03ec57137278c42de8227300fe25a6657b8c (diff)
downloadwallet-core-c5b25d1cbd459ed90af3e28c9f8d0899a3a28848.tar.gz
wallet-core-c5b25d1cbd459ed90af3e28c9f8d0899a3a28848.tar.bz2
wallet-core-c5b25d1cbd459ed90af3e28c9f8d0899a3a28848.zip
update error codes
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pay.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts
index 442aeca71..ad970129f 100644
--- a/packages/taler-wallet-core/src/operations/pay.ts
+++ b/packages/taler-wallet-core/src/operations/pay.ts
@@ -647,7 +647,7 @@ async function processDownloadProposalImpl(
);
if (r.isError) {
switch (r.talerErrorResponse.code) {
- case TalerErrorCode.ORDERS_ALREADY_CLAIMED:
+ case TalerErrorCode.MERCHANT_POST_ORDERS_ID_CLAIM_ALREADY_CLAIMED:
throw OperationFailedError.fromCode(
TalerErrorCode.WALLET_ORDER_ALREADY_CLAIMED,
"order already claimed (likely by other wallet)",