diff options
| author | Florian Dold <florian@dold.me> | 2022-10-08 23:45:49 +0200 |
|---|---|---|
| committer | Florian Dold <florian@dold.me> | 2022-10-08 23:45:49 +0200 |
| commit | 8ac5080607d28f8dcd84a949221a551a3f66cea8 (patch) | |
| tree | 2aadd0952be1aa2dcc1cddab5de1f9218941c643 /packages/taler-wallet-core/src/db.ts | |
| parent | 3897bd4f018bf23ab485325d48a259958653ff52 (diff) | |
wallet-core: more DB and refund fixes
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
| -rw-r--r-- | packages/taler-wallet-core/src/db.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index b13428183..b019be67a 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1026,7 +1026,7 @@ export interface WalletContractData { deliveryLocation: Location | undefined; } -export enum ProposalStatus { +export enum PurchaseStatus { /** * Not downloaded yet. */ @@ -1150,7 +1150,7 @@ export interface PurchaseRecord { */ repurchaseProposalId: string | undefined; - status: ProposalStatus; + purchaseStatus: PurchaseStatus; /** * Private key for the nonce. @@ -1934,7 +1934,7 @@ export const WalletStoresV1 = { "purchases", describeContents<PurchaseRecord>({ keyPath: "proposalId" }), { - byStatus: describeIndex("byStatus", "operationStatus"), + byStatus: describeIndex("byStatus", "purchaseStatus"), byFulfillmentUrl: describeIndex( "byFulfillmentUrl", "download.contractData.fulfillmentUrl", |
