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
6
index.js
6
index.js
|
|
@ -197,16 +197,16 @@ fastify.get(
|
||||||
log.reverse()
|
log.reverse()
|
||||||
for(i = 0; i < log.length; i++){
|
for(i = 0; i < log.length; i++){
|
||||||
|
|
||||||
|
|
||||||
if(log[i].amount > 0){
|
if(log[i].amount > 0){
|
||||||
let absol = Math.abs(log[i].amount)
|
let absol = Math.abs(log[i].amount)
|
||||||
let date = new Date(log[i].time * 1000)
|
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 {
|
} else {
|
||||||
let date = new Date(log[i].time * 1000)
|
let date = new Date(log[i].time * 1000)
|
||||||
let absol = Math.abs(log[i].amount)
|
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