-fix minor state name

This commit is contained in:
Florian Dold 2023-05-16 16:48:45 +02:00
parent b35404a2b1
commit 72d0230a2e
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B
3 changed files with 2 additions and 3 deletions

View File

@ -106,7 +106,7 @@ export enum TransactionMinorState {
AmlRequired = "aml",
MergeKycRequired = "merge-kyc",
Track = "track",
Pay = "pay",
SubmitPayment = "submit-payment",
RebindSession = "rebind-session",
Refresh = "refresh",
Pickup = "pickup",

View File

@ -1728,7 +1728,7 @@ export function computePayMerchantTransactionState(
case PurchaseStatus.Paying:
return {
major: TransactionMajorState.Pending,
minor: TransactionMinorState.Pay,
minor: TransactionMinorState.SubmitPayment,
};
case PurchaseStatus.PayingReplay:
return {

View File

@ -30,7 +30,6 @@ import {
Logger,
setGlobalLogLevelFromString,
setPRNG,
TalerErrorCode,
WalletNotification,
} from "@gnu-taler/taler-util";
import { createPlatformHttpLib } from "@gnu-taler/taler-util/http";