diff options
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/src/operations/tip.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/tip.ts b/packages/taler-wallet-core/src/operations/tip.ts index f9d20fa03..dabde9f62 100644 --- a/packages/taler-wallet-core/src/operations/tip.ts +++ b/packages/taler-wallet-core/src/operations/tip.ts @@ -359,6 +359,7 @@ export async function acceptTip( } tipRecord.acceptedTimestamp = TalerProtocolTimestamp.now(); await tx.tips.put(tipRecord); + return true; }); if (found) { diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index f14018401..61d1417f9 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -32,6 +32,7 @@ import { AcceptPeerPullPaymentRequest, AcceptPeerPushPaymentRequest, AcceptTipRequest, + AcceptTipResponse, AcceptWithdrawalResponse, AddExchangeRequest, AddKnownBankAccountsRequest, @@ -385,7 +386,7 @@ export type PrepareTipOp = { export type AcceptTipOp = { op: WalletApiOperation.AcceptTip; request: AcceptTipRequest; - response: EmptyObject; + response: AcceptTipResponse; }; // group: Exchange Management |