diff options
Diffstat (limited to 'lib/lightning.ts')
| -rw-r--r-- | lib/lightning.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lightning.ts b/lib/lightning.ts index a259b601..3b1882d4 100644 --- a/lib/lightning.ts +++ b/lib/lightning.ts @@ -164,7 +164,7 @@ export async function replay(index) { } } -export const fixBolt12 = async (_, res) => { +export const fixBolt12 = async (c) => { for await (const k of scan("payment:*")) { const p = await g(k); if (p.type === "bolt12") { @@ -182,5 +182,5 @@ export const fixBolt12 = async (_, res) => { } } - res.send({}); + return c.json({}); }; |
