fix accept tip response type

This commit is contained in:
Sebastian 2023-01-31 11:42:46 -03:00
parent 5ff92139ba
commit 33c1759f16
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 3 additions and 1 deletions

View File

@ -359,6 +359,7 @@ export async function acceptTip(
}
tipRecord.acceptedTimestamp = TalerProtocolTimestamp.now();
await tx.tips.put(tipRecord);
return true;
});
if (found) {

View File

@ -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