aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-05-08 16:59:05 -0700
committerAdam Soltys <[email protected]>2023-05-08 16:59:05 -0700
commit841e5434fe3b53bc35b0c5e22e7589b47aac5dc7 (patch)
tree7199325a009b3eda7b534d5a567e473af094b0bf /index.js
parent88990faa498ab269d1745dc6524cddf2fe9e5245 (diff)
downloadcoinos-server-841e5434fe3b53bc35b0c5e22e7589b47aac5dc7.tar.gz
coinos-server-841e5434fe3b53bc35b0c5e22e7589b47aac5dc7.zip
withdraw 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 6e001025..a799ab30 100644
--- a/index.js
+++ b/index.js
@@ -53,6 +53,7 @@ app.get("/payments", auth, payments.list);
app.get("/payments/:hash", auth, payments.get);
app.post("/parse", payments.parse);
app.get("/pot/:name", payments.pot);
+app.get("/pot/:name/withdraw", payments.withdraw);
app.post("/take", auth, payments.take);
app.post("/buy", auth, payments.buy);
app.post("/print", auth, payments.print);