aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-11-08 13:46:09 -0800
committerAdam Soltys <[email protected]>2023-11-11 00:06:47 -0800
commitf0c9dd97783ae0cd8c726bd3c77725e978e7a8ec (patch)
treefe63a986e164ec71109b57aac72b91ce575dcad1 /index.js
parent30910e1a7c02b7a4c18d029c521136c77e9ee8bc (diff)
downloadcoinos-server-f0c9dd97783ae0cd8c726bd3c77725e978e7a8ec.tar.gz
coinos-server-f0c9dd97783ae0cd8c726bd3c77725e978e7a8ec.zip
rename pot to fund
Diffstat (limited to 'index.js')
-rw-r--r--index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js
index b818188f..40c72795 100644
--- a/index.js
+++ b/index.js
@@ -53,8 +53,8 @@ app.post("/payments", auth, payments.create);
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.get("/fund/:name", payments.fund);
+app.get("/fund/:name/withdraw", payments.withdraw);
app.post("/take", auth, payments.take);
app.post("/buy", auth, payments.buy);
app.post("/print", auth, payments.print);