Fixed lnurlpos links not showing

This commit is contained in:
benarc 2021-11-23 11:03:57 +00:00
parent 1406949ceb
commit bc0b64a3fb
2 changed files with 1 additions and 3 deletions

View File

@ -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,))

View File

@ -347,7 +347,6 @@
)
.then(function (response) {
if (response.data) {
console.log(response.data)
self.lnurlposLinks = response.data.map(maplnurlpos)
}
})