mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-20 13:37:35 +02:00
feat: nicer
This commit is contained in:
parent
9961c76caa
commit
ad90e95b10
2 changed files with 587 additions and 171 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -244,11 +244,14 @@ async function decodePayment(context, data) {
|
|||
})
|
||||
}
|
||||
|
||||
async function lnurlScan(context, lnurl) {
|
||||
async function lnurlScan(context, lnurl, key) {
|
||||
return jsonRequest(
|
||||
context,
|
||||
'get',
|
||||
`/api/v1/lnurlscan/${encodeURIComponent(lnurl)}`
|
||||
`/api/v1/lnurlscan/${encodeURIComponent(lnurl)}`,
|
||||
{
|
||||
headers: apiKeyHeaders(key)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue