diff --git a/lnbits/extensions/lnurldevice/crud.py b/lnbits/extensions/lnurldevice/crud.py index b1fe24aa..f5165abe 100644 --- a/lnbits/extensions/lnurldevice/crud.py +++ b/lnbits/extensions/lnurldevice/crud.py @@ -12,7 +12,7 @@ async def create_lnurldevice( data: createLnurldevice, ) -> lnurldevices: if data.device == "pos": - lnurldevice_id = get_lnurldeviceposcount() + lnurldevice_id = str(get_lnurldeviceposcount()) lnurldevice_key = urlsafe_short_hash() await db.execute( """