summaryrefslogtreecommitdiff
path: root/src/types
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-07 17:29:19 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-07 17:29:19 +0100
commit0842fab15482f155b967b4b100b0575bf44ce667 (patch)
tree5604105f5caba48df3e5628a0d98ff730f34b165 /src/types
parentbbe486c7799059350c28402447a9669ddf4ec955 (diff)
downloadwallet-core-0842fab15482f155b967b4b100b0575bf44ce667.tar.gz
wallet-core-0842fab15482f155b967b4b100b0575bf44ce667.tar.bz2
wallet-core-0842fab15482f155b967b4b100b0575bf44ce667.zip
Fix typo and field name in history event
This fixes https://bugs.taler.net/n/6022
Diffstat (limited to 'src/types')
-rw-r--r--src/types/history.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/types/history.ts b/src/types/history.ts
index 783b55913..a0e816148 100644
--- a/src/types/history.ts
+++ b/src/types/history.ts
@@ -155,14 +155,14 @@ export interface HistoryTipAcceptedEvent {
/**
* Raw amount of the tip, without extra fees that apply.
*/
- tipRaw: string;
+ tipAmountRaw: string;
}
/**
* History event to indicate that the user has accepted a tip.
*/
export interface HistoryTipDeclinedEvent {
- type: HistoryEventType.TipAccepted;
+ type: HistoryEventType.TipDeclined;
/**
* Point in time when the tip has been declined.
@@ -177,7 +177,7 @@ export interface HistoryTipDeclinedEvent {
/**
* Raw amount of the tip, without extra fees that apply.
*/
- tipAmount: string;
+ tipAmountRaw: string;
}
/**