diff options
| author | Adam Soltys <[email protected]> | 2023-02-01 11:07:37 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-02-01 11:07:37 -0800 |
| commit | 1ae65a5a143d218e21828e297fd7d0ba9ab372bf (patch) | |
| tree | 6e425803038c575f87e14ae3392abae16d7ccf40 /index.js | |
| parent | 2eb199b8609b0976b4800815edcf73aa3da4b464 (diff) | |
| download | coinos-server-1ae65a5a143d218e21828e297fd7d0ba9ab372bf.tar.gz coinos-server-1ae65a5a143d218e21828e297fd7d0ba9ab372bf.zip | |
classic invoices
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,8 +42,9 @@ app.post("/event", nostr.broadcast); app.get("/locations", locations.list); -app.get("/invoice", invoices.get); +app.get("/invoice/:hash", invoices.get); app.post("/invoice", optional, invoices.create); +app.get("/invoice/classic/:username", invoices.classic); app.post("/payments", auth, payments.create); app.get("/payments", auth, payments.list); |
