mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 10:10:00 +02:00
Fixed lnurlpos links not showing
This commit is contained in:
@ -58,8 +58,7 @@ async def get_lnurlposs(wallet_ids: Union[str, List[str]]) -> List[lnurlposs]:
|
|||||||
(*wallet_ids,),
|
(*wallet_ids,),
|
||||||
)
|
)
|
||||||
|
|
||||||
return [lnurlposs(**row) if row else None]
|
return [lnurlposs(**row) if row else None for row in rows]
|
||||||
|
|
||||||
|
|
||||||
async def delete_lnurlpos(lnurlpos_id: str) -> None:
|
async def delete_lnurlpos(lnurlpos_id: str) -> None:
|
||||||
await db.execute("DELETE FROM lnurlpos.lnurlposs WHERE id = ?", (lnurlpos_id,))
|
await db.execute("DELETE FROM lnurlpos.lnurlposs WHERE id = ?", (lnurlpos_id,))
|
||||||
|
@ -347,7 +347,6 @@
|
|||||||
)
|
)
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
if (response.data) {
|
if (response.data) {
|
||||||
console.log(response.data)
|
|
||||||
self.lnurlposLinks = response.data.map(maplnurlpos)
|
self.lnurlposLinks = response.data.map(maplnurlpos)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user