no such column

This commit is contained in:
ben 2022-12-23 15:41:59 +00:00
parent 0ce987a20e
commit dce50105c9

View File

@ -82,7 +82,7 @@ async def update_lnurldevice(lnurldevice_id: str, **kwargs) -> Optional[lnurldev
async def get_lnurldeviceposcount() -> int:
row = await db.fetchall(
"SELECT * FROM lnurldevice.lnurldevices WHERE device = pos"
"SELECT * FROM lnurldevice.lnurldevices WHERE device"
)
return len(row) + 1