mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Change the lastUserTransaction.balance and multiplied it by 10000
This commit is contained in:
parent
2c2e56024d
commit
b8854f9365
@ -428,7 +428,7 @@ async function addUserTransaction(
|
||||
if (lastUserTransaction) {
|
||||
newBalance += Number(
|
||||
await calculateDecay(
|
||||
Number(lastUserTransaction.balance),
|
||||
Number(lastUserTransaction.balance * 10000),
|
||||
lastUserTransaction.balanceDate,
|
||||
transaction.received,
|
||||
).catch(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user