commit
74eb496d67
2 changed files with 1 additions and 3 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue