Merge pull request #428 from arcbtc/FastAPI

merge
This commit is contained in:
Arc 2021-11-23 11:04:28 +00:00 committed by GitHub
commit 74eb496d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}
})