mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-16 23:02:13 +11:00
fix wording..............
This commit is contained in:
parent
cf5415b993
commit
660abf3cf4
1 changed files with 3 additions and 3 deletions
6
index.js
6
index.js
|
|
@ -197,16 +197,16 @@ fastify.get(
|
|||
log.reverse()
|
||||
for(i = 0; i < log.length; i++){
|
||||
|
||||
|
||||
|
||||
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