From 273afd10bb321c1ac23ce14aba9f61b6ffe1e910 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 15 Jan 2025 12:45:31 -0800 Subject: sign endpoint --- index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'index.ts') diff --git a/index.ts b/index.ts index 8d12705f..e4212c0e 100644 --- a/index.ts +++ b/index.ts @@ -46,6 +46,7 @@ app.get("/locations", locations.list); app.get("/invoice/:id", invoices.get); app.get("/invoices", auth, invoices.list); app.post("/invoice", optional, invoices.create); +app.post("/sign", auth, invoices.sign); app.get("/nostr.json", nostr.identities); app.get("/profile/:profile", nostr.profile); -- cgit v1.2.3