aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-04 12:43:11 -0800
committerAdam Soltys <[email protected]>2026-03-04 12:43:11 -0800
commita6bc64017162bcaf1b7c2f3525f89c0e8dbe8d68 (patch)
tree13e8bc40b4dca5426565a851c7fa372271aa5f88 /index.ts
parent6781fd2935ebc3abdeed182b4cee62c25c5482e7 (diff)
downloadcoinos-server-a6bc64017162bcaf1b7c2f3525f89c0e8dbe8d68.tar.gz
coinos-server-a6bc64017162bcaf1b7c2f3525f89c0e8dbe8d68.zip
fund authorizations
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index ef6d9778..62db60f7 100644
--- a/index.ts
+++ b/index.ts
@@ -108,6 +108,8 @@ app.get("/fund/:name/managers", payments.managers);
app.post("/fund/managers", auth, payments.addManager);
app.post("/fund/:name/managers/delete", auth, payments.deleteManager);
app.post("/authorize", auth, payments.authorize);
+app.get("/fund/:id/authorizations", payments.listAuthorizations);
+app.post("/fund/:id/authorization/:authId/delete", auth, payments.deleteAuthorization);
app.post("/take", auth, payments.take);
app.post("/print", auth, payments.print);
app.post("/send/:lnaddress/:amount", auth, payments.lnaddress);