-fix minor state name
This commit is contained in:
parent
b35404a2b1
commit
72d0230a2e
@ -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",
|
||||||
|
@ -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 {
|
||||||
|
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user