-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", AmlRequired = "aml",
MergeKycRequired = "merge-kyc", MergeKycRequired = "merge-kyc",
Track = "track", Track = "track",
Pay = "pay", SubmitPayment = "submit-payment",
RebindSession = "rebind-session", RebindSession = "rebind-session",
Refresh = "refresh", Refresh = "refresh",
Pickup = "pickup", Pickup = "pickup",

View File

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

View File

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