aboutsummaryrefslogtreecommitdiffstats
path: root/routes/ecash.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-08 20:57:06 -0700
committerAdam Soltys <[email protected]>2024-09-08 20:57:06 -0700
commit5c105c8f4738ab1ead3c5b92f465f899cf0a7446 (patch)
tree9cea2d1b46cdab9869f742e3286c9fb0762f8948 /routes/ecash.ts
parent92bd9085a576517e06dc000d1e1ff11d27bc34b4 (diff)
downloadcoinos-server-5c105c8f4738ab1ead3c5b92f465f899cf0a7446.tar.gz
coinos-server-5c105c8f4738ab1ead3c5b92f465f899cf0a7446.zip
refactor rpc helper, accounts endpoints
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) {