From 5c105c8f4738ab1ead3c5b92f465f899cf0a7446 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 8 Sep 2024 20:57:06 -0700 Subject: refactor rpc helper, accounts endpoints --- routes/ecash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/ecash.ts') 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) { -- cgit v1.2.3