From ff4d63f395a556543e9a642676f92dea5d1c1645 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 21 Nov 2024 16:31:51 -0800 Subject: ecash requests --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.ts') 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); -- cgit v1.2.3