aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-21 16:31:51 -0800
committerAdam Soltys <[email protected]>2024-11-21 16:31:51 -0800
commitff4d63f395a556543e9a642676f92dea5d1c1645 (patch)
treedbee8887d40bf535f587c1f10bc0fa7f36db31f8 /index.ts
parent3b15d16339c9209f307f8453af91fba15f3d340c (diff)
downloadcoinos-server-ff4d63f395a556543e9a642676f92dea5d1c1645.tar.gz
coinos-server-ff4d63f395a556543e9a642676f92dea5d1c1645.zip
ecash requests
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index adb13863..2b6ee92d 100644
--- a/index.ts
+++ b/index.ts
@@ -47,6 +47,7 @@ app.get("/invoice/:id", invoices.get);
app.post("/invoice", optional, invoices.create);
app.get("/nostr.json", nostr.identities);
+app.get("/profile/:profile", nostr.profile);
app.get("/:pubkey/count", nostr.count);
app.get("/:pubkey/followers", nostr.followers);
app.get("/:pubkey/follows", nostr.follows);
@@ -125,7 +126,6 @@ app.post("/unlimit", admin, users.unlimit);
app.get("/cash/:id/:version", ecash.get);
app.post("/cash", ecash.save);
-app.post("/cash/pay", ecash.pay);
app.post("/claim", auth, ecash.claim);
app.post("/mint", auth, ecash.mint);
app.post("/melt", auth, ecash.melt);