mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
Fixed lnurlpos links not showing
This commit is contained in:
parent
1406949ceb
commit
bc0b64a3fb
@ -58,8 +58,7 @@ async def get_lnurlposs(wallet_ids: Union[str, List[str]]) -> List[lnurlposs]:
|
||||
(*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:
|
||||
await db.execute("DELETE FROM lnurlpos.lnurlposs WHERE id = ?", (lnurlpos_id,))
|
||||
|
@ -347,7 +347,6 @@
|
||||
)
|
||||
.then(function (response) {
|
||||
if (response.data) {
|
||||
console.log(response.data)
|
||||
self.lnurlposLinks = response.data.map(maplnurlpos)
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user