fix(core): update

This commit is contained in:
Philipp Kunz 2022-10-30 17:27:13 +01:00
parent 29bd68f57d
commit 3ee4a1677e
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@mojoio/tink', name: '@mojoio/tink',
version: '3.1.5', version: '3.1.6',
description: 'an unofficial api abstraction for tink.com' description: 'an unofficial api abstraction for tink.com'
} }

View File

@ -102,9 +102,11 @@ export class BankTransaction {
public getNormalizedData() { public getNormalizedData() {
return { return {
id: this.data.id, id: this.data.id,
date: new Date(this.data.dates.booked).getTime(),
amount: tinkHelpers.getNormalizedAmount(this.data.amount), amount: tinkHelpers.getNormalizedAmount(this.data.amount),
name: this.data.descriptions.display, name: this.data.descriptions.display,
description: this.data.descriptions.original, description: this.data.descriptions.original,
originAccountId: this.data.accountId,
justForLooks: { justForLooks: {
originalScaledAmount: this.data.amount originalScaledAmount: this.data.amount
} }