[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/03: fix accept tip response type
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/03: fix accept tip response type |
Date: |
Tue, 31 Jan 2023 15:43:12 +0100 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 33c1759f16d92848c16890c602d9c7a42287eb97
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Tue Jan 31 11:42:46 2023 -0300
fix accept tip response type
---
packages/taler-wallet-core/src/operations/tip.ts | 1 +
packages/taler-wallet-core/src/wallet-api-types.ts | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
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
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.