aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-22 22:42:35 -0800
committerAdam Soltys <[email protected]>2024-11-22 22:42:35 -0800
commitb82f045fe567f25c7d0a9fbb5163853373cd616c (patch)
tree0630fc14b88c740992bf04be5bfcd4fb4334f129 /index.ts
parent41ff5eb1261ad0878b080b5a85f6553223108429 (diff)
downloadcoinos-server-b82f045fe567f25c7d0a9fbb5163853373cd616c.tar.gz
coinos-server-b82f045fe567f25c7d0a9fbb5163853373cd616c.zip
ecash receive
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 569d6dfe..97b3a71d 100644
--- a/index.ts
+++ b/index.ts
@@ -131,6 +131,7 @@ app.post("/cash", ecash.save);
app.post("/claim", auth, ecash.claim);
app.post("/mint", auth, ecash.mint);
app.post("/melt", auth, ecash.melt);
+app.post("/ecash/:id", ecash.receive);
app.post("/echo", (req, res) => {
console.log("echo", req.body);