diff options
| author | Adam Soltys <[email protected]> | 2025-09-18 16:36:25 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-09-18 16:38:11 -0700 |
| commit | 3ec79e2f938423d1442886454204973d804f37d9 (patch) | |
| tree | 472d55a4eef98a8a5368996eca892b77c3d96c11 /index.ts | |
| parent | 7d11696ce6c555d3f0adc4a0da03d2c895d0a596 (diff) | |
| download | coinos-server-3ec79e2f938423d1442886454204973d804f37d9.tar.gz coinos-server-3ec79e2f938423d1442886454204973d804f37d9.zip | |
allow invoice owners to modify the webhook
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,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("/invoice/:id", invoices.update); +app.post("/invoice/:id", optional, invoices.update); app.post("/sign", auth, invoices.sign); app.get("/assetlinks.json", (_, res) => res.sendFile("assetlinks.json")); |
