aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index f13e666a..aab88b93 100644
--- a/index.js
+++ b/index.js
@@ -35,9 +35,10 @@ const l = console.log;
const seen = [];
const addresses = {};
await db.User.findAll({
- attributes: ["username", "address"]
+ attributes: ["username", "address", "liquid"]
}).map(u => {
addresses[u.address] = u.username;
+ if (u.liquid) addresses[u.liquid] = u.username;
});
const payments = (await db.Payment.findAll({