aboutsummaryrefslogtreecommitdiffstats
path: root/routes/ecash.ts
diff options
context:
space:
mode:
Diffstat (limited to 'routes/ecash.ts')
-rw-r--r--routes/ecash.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/ecash.ts b/routes/ecash.ts
index af7f842d..7516c05e 100644
--- a/routes/ecash.ts
+++ b/routes/ecash.ts
@@ -58,7 +58,7 @@ export default {
received: 0,
});
- await credit(hash, amount, memo, user.id, type);
+ await credit({hash, amount, memo, ref:user.id, type});
res.send({ ok: true });
} catch (e) {