diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/parse.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/parse.ts b/src/lib/parse.ts index ba181e6c..664cf17a 100644 --- a/src/lib/parse.ts +++ b/src/lib/parse.ts @@ -52,7 +52,7 @@ export default async (s, host) => { if (t.toLowerCase().startsWith("ln")) { try { - await get(`/invoice/${t}`); + const inv = await get(`/invoice/${t}`); if (inv.user.username === "mint") throw new Error("mint payment"); } catch (e) { if (t.toLowerCase().startsWith("lno")) { |
