feat: nicer
This commit is contained in:
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(
|
return jsonRequest(
|
||||||
context,
|
context,
|
||||||
'get',
|
'get',
|
||||||
`/api/v1/lnurlscan/${encodeURIComponent(lnurl)}`
|
`/api/v1/lnurlscan/${encodeURIComponent(lnurl)}`,
|
||||||
|
{
|
||||||
|
headers: apiKeyHeaders(key)
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user