aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-01-17 16:54:13 -0800
committerAdam Soltys <[email protected]>2025-01-17 16:54:13 -0800
commitb15b5d405d732fe6be32eb591ae1a19db530b787 (patch)
tree9e89091c32c6482a47e8113027d4713c725da3cd /index.ts
parent06308bb12edff8e51b189b57d9f5a147959d743a (diff)
downloadcoinos-server-b15b5d405d732fe6be32eb591ae1a19db530b787.tar.gz
coinos-server-b15b5d405d732fe6be32eb591ae1a19db530b787.zip
return event parts
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 0c2010ed..3d5aba14 100644
--- a/index.ts
+++ b/index.ts
@@ -55,6 +55,7 @@ app.get("/:pubkey/followers", nostr.followers);
app.get("/:pubkey/follows", nostr.follows);
app.get("/event/:id", nostr.event);
app.post("/event", auth, nostr.publish);
+app.post("/parseEvent", nostr.parse);
app.get("/zaps/:id", nostr.zaps);
app.post("/zap", auth, nostr.zap);
app.post("/zapRequest", auth, nostr.zapRequest);