aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 }));