diff options
| author | Adam Soltys <[email protected]> | 2024-09-08 20:57:06 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-09-08 20:57:06 -0700 |
| commit | 5c105c8f4738ab1ead3c5b92f465f899cf0a7446 (patch) | |
| tree | 9cea2d1b46cdab9869f742e3286c9fb0762f8948 /routes/ecash.ts | |
| parent | 92bd9085a576517e06dc000d1e1ff11d27bc34b4 (diff) | |
| download | coinos-server-5c105c8f4738ab1ead3c5b92f465f899cf0a7446.tar.gz coinos-server-5c105c8f4738ab1ead3c5b92f465f899cf0a7446.zip | |
refactor rpc helper, accounts endpoints
Diffstat (limited to 'routes/ecash.ts')
| -rw-r--r-- | routes/ecash.ts | 2 |
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) { |
