mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-18 07:32:14 +11:00
fix wording..............
This commit is contained in:
parent
cf5415b993
commit
660abf3cf4
1 changed files with 3 additions and 3 deletions
4
index.js
4
index.js
|
|
@ -201,12 +201,12 @@ fastify.get(
|
|||
if(log[i].amount > 0){
|
||||
let absol = Math.abs(log[i].amount)
|
||||
let date = new Date(log[i].time * 1000)
|
||||
transactionlog.push(`You sent ${log[i].counterparty} ${absol} at ${date}`);
|
||||
transactionlog.push(`${log[i].counterparty} sent you ${absol} at ${date}`);
|
||||
|
||||
} else {
|
||||
let date = new Date(log[i].time * 1000)
|
||||
let absol = Math.abs(log[i].amount)
|
||||
transactionlog.push(`${log[i].counterparty} sent you ${absol} at ${date}`);
|
||||
transactionlog.push(`You sent ${log[i].counterparty} ${absol} at ${date}`);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue