aboutsummaryrefslogtreecommitdiffstats
path: root/bitcoinPayments.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-01-27 23:16:22 -0800
committerAdam Soltys <[email protected]>2020-01-27 23:16:22 -0800
commite34f41697eb4b96508dc27197b91ef06bd47a641 (patch)
treebdc18dc5253f99c74e70e1460745f4b3bb778b4b /bitcoinPayments.js
parent5eb6950c8f6dfea83c230c403c51c64234f23e3d (diff)
downloadcoinos-server-e34f41697eb4b96508dc27197b91ef06bd47a641.tar.gz
coinos-server-e34f41697eb4b96508dc27197b91ef06bd47a641.zip
test existence on username change
Diffstat (limited to 'bitcoinPayments.js')
-rw-r--r--bitcoinPayments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitcoinPayments.js b/bitcoinPayments.js
index abdc072d..95fbcc5b 100644
--- a/bitcoinPayments.js
+++ b/bitcoinPayments.js
@@ -133,7 +133,7 @@ module.exports = (app, bc, db, addresses, payments, emit) => {
let payments = await db.Payment.findAll({
where: { user_id: user.id },
order: [['id', 'DESC']],
- limit: 20
+ limit: 12
});
emit(user.username, "payments", payments);