[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: Fix typo and field name in hi
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: Fix typo and field name in history event |
Date: |
Tue, 07 Jan 2020 17:31:02 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 0842fab1 Fix typo and field name in history event
0842fab1 is described below
commit 0842fab15482f155b967b4b100b0575bf44ce667
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 7 17:29:19 2020 +0100
Fix typo and field name in history event
This fixes https://bugs.taler.net/n/6022
---
src/operations/history.ts | 2 +-
src/types/history.ts | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/operations/history.ts b/src/operations/history.ts
index 00727918..4eb626d6 100644
--- a/src/operations/history.ts
+++ b/src/operations/history.ts
@@ -339,7 +339,7 @@ export async function getHistory(
eventId: makeEventId(HistoryEventType.TipAccepted, tip.tipId),
timestamp: tip.acceptedTimestamp,
tipId: tip.tipId,
- tipAmount: Amounts.toString(tip.amount),
+ tipAmountRaw: Amounts.toString(tip.amount),
});
}
});
diff --git a/src/types/history.ts b/src/types/history.ts
index 783b5591..a0e81614 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;
}
/**
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: Fix typo and field name in history event,
gnunet <=