aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-18 16:38:32 -0700
committerAdam Soltys <[email protected]>2025-09-18 16:38:32 -0700
commit1347f87dcd92d318fbdd9d364648bc32ee52b4a7 (patch)
tree4667a87859446ca1f7494a3196190e18ec5f7ade /index.ts
parent8c7fa95d44aabd38fadc3ef955d835ad3379ec6c (diff)
parent3ec79e2f938423d1442886454204973d804f37d9 (diff)
downloadcoinos-server-1347f87dcd92d318fbdd9d364648bc32ee52b4a7.tar.gz
coinos-server-1347f87dcd92d318fbdd9d364648bc32ee52b4a7.zip
Merge branch 'patch-1'
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 d9538427..4efc0e55 100644
--- a/index.ts
+++ b/index.ts
@@ -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"));