aboutsummaryrefslogtreecommitdiffstats
path: root/routes/payments.js
diff options
context:
space:
mode:
Diffstat (limited to 'routes/payments.js')
-rw-r--r--routes/payments.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/payments.js b/routes/payments.js
index 7fa6b308..b63ea716 100644
--- a/routes/payments.js
+++ b/routes/payments.js
@@ -27,7 +27,7 @@ export default {
if (username && username.endsWith("@classic")) {
let { username: source } = user;
username = username.replace("@classic", "");
- p = await debit(hash, amount, 0, memo, user, types.classic);
+ p = await debit(hash, amount, 0, username, user, types.classic);
await got
.post(`${config.classic}/admin/credit`, {