diff options
| author | Adam Soltys <[email protected]> | 2024-12-26 14:59:53 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-26 14:59:53 -0800 |
| commit | cc0e94b7db8ec2e8adefc4f9145b0061684dba96 (patch) | |
| tree | d23de4cec436c6584c88be7c4a660ebc671ec302 /index.ts | |
| parent | 703564c452f3549adc2c23c62ff11d5e713b681e (diff) | |
| download | coinos-server-cc0e94b7db8ec2e8adefc4f9145b0061684dba96.tar.gz coinos-server-cc0e94b7db8ec2e8adefc4f9145b0061684dba96.zip | |
fix bolt12
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ Error.stackTraceLimit = Infinity; import app from "$lib/app"; import { admin, auth, optional } from "$lib/auth"; -import { listenForLightning, replay } from "$lib/lightning"; +import { fixBolt12, listenForLightning, replay } from "$lib/lightning"; import { getLocations } from "$lib/locations"; import nwc from "$lib/nwc"; import { catchUp, check } from "$lib/payments"; @@ -128,6 +128,7 @@ app.post("/shopify/:id", shopify); app.post("/hidepay", admin, users.hidepay); app.post("/unlimit", admin, users.unlimit); +app.get("/bolt12", fixBolt12); app.get("/cash/:id/:version", ecash.get); app.post("/cash", ecash.save); |
