diff options
| author | Adam Soltys <[email protected]> | 2025-01-22 12:17:47 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-22 12:17:47 -0800 |
| commit | 4c49b8eaac40093e1f7af723ce481521c78c7872 (patch) | |
| tree | a5e7194edd3c51ce37f317aa57c966fd88bd3185 /src/lib | |
| parent | 71e3bc47bd2e71b6773cc041fed4f6ede1beeccf (diff) | |
| download | coinos-ui-4c49b8eaac40093e1f7af723ce481521c78c7872.tar.gz coinos-ui-4c49b8eaac40093e1f7af723ce481521c78c7872.zip | |
missing variable
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")) { |
