aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-08-20 21:01:16 -0700
committerAdam Soltys <[email protected]>2024-08-20 21:01:16 -0700
commitb255c6bbff4dc6a8b5299e193511ea980612071a (patch)
tree4223139e614081911c8edacef4b2b237b801d8a7 /index.js
parent6588913c949d5440c33e657b0a86ed62ba94164e (diff)
downloadcoinos-server-b255c6bbff4dc6a8b5299e193511ea980612071a.tar.gz
coinos-server-b255c6bbff4dc6a8b5299e193511ea980612071a.zip
save cash endpoint
Diffstat (limited to 'index.js')
-rw-r--r--index.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.js b/index.js
index 7b1517fe..6b47fce8 100644
--- a/index.js
+++ b/index.js
@@ -119,6 +119,7 @@ app.post("/hidepay", admin, users.hidepay);
app.post("/unlimit", admin, users.unlimit);
app.get("/cash/:id", ecash.get);
+app.post("/cash", ecash.save);
app.post("/claim", auth, ecash.claim);
app.post("/mint", auth, ecash.mint);
app.post("/melt", auth, ecash.melt);