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 | 32159844eb931f2136bbba8d65c5f8e533f01aa2 (patch) | |
| tree | a5e7194edd3c51ce37f317aa57c966fd88bd3185 /src/lib/parse.ts | |
| parent | 628f40e8ee60bb504031e952cb9a30f0afcf2e4a (diff) | |
| download | coinos-ui-32159844eb931f2136bbba8d65c5f8e533f01aa2.tar.gz coinos-ui-32159844eb931f2136bbba8d65c5f8e533f01aa2.zip | |
missing variable
Diffstat (limited to 'src/lib/parse.ts')
| -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")) { |
