Skip to content

Commit 90bcf7a

Browse files
authored
Merge pull request #849 from PayButton/feat/chamge-value-decimals
fix: value fixed decimal
2 parents 6cfc795 + 21b91b0 commit 90bcf7a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pages/api/paybutton/download/transactions/[paybuttonId].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const formatPaybuttonTransactionsFileData = (data: TransactionFileData): Formatt
6969
...data,
7070
amount: amount.toFixed(DECIMALS[currency]),
7171
date: date.format(PRICE_API_DATE_FORMAT),
72-
value: value.toFixed(DECIMALS[currency]),
72+
value: value.toFixed(2),
7373
rate: rate.toFixed(14)
7474
}
7575
}

0 commit comments

Comments
 (0)