aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-08-29 11:55:57 -0700
committerAdam Soltys <[email protected]>2022-08-29 11:55:57 -0700
commitff2e503ec80b113031b626efd011a98ba22ad69b (patch)
tree42b4142727becd62ee21cda6148c06845b10bdde
parent9c80a3d4d9ce235df30cb0fe43386ac795d5e414 (diff)
downloadcoinos-server-ff2e503ec80b113031b626efd011a98ba22ad69b.tar.gz
coinos-server-ff2e503ec80b113031b626efd011a98ba22ad69b.zip
log balances
-rw-r--r--routes/payments.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.js b/routes/payments.js
index 6b21fb9b..3bcc271d 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -30,6 +30,7 @@ app.post(
for (let i = 0; i < accounts.length; i++) {
let account = accounts[i];
+ console.log(account.user.username, account.balance);
}
accounts.map(({ balance, user: { username } }) => ({ username, balance }));