aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-02-23 12:26:39 -0800
committerAdam Soltys <[email protected]>2024-02-23 12:26:39 -0800
commit5fc1a00db108671022cb6cd690e4a0a8932476f5 (patch)
treeab2e14f5b6c7e08dd9ee99698bd708a4a2d79e26
parent63aac564602bb65065fee5fdb8f29abdacd388d4 (diff)
downloadcoinos-server-5fc1a00db108671022cb6cd690e4a0a8932476f5.tar.gz
coinos-server-5fc1a00db108671022cb6cd690e4a0a8932476f5.zip
remove default memo
-rw-r--r--routes/payments.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index cc2576c7..9891c661 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -32,7 +32,6 @@ export default {
async create({ body, user }, res) {
let { amount, hash, maxfee, fund, memo, payreq, rate, username } = body;
- memo ||= user.username;
let balance = await g(`balance:${user.id}`);
try {