general cleanup and unused imports removal
This commit is contained in:
@@ -20,7 +20,6 @@ lnurlp_static_files = [
|
||||
lnurlp_ext: APIRouter = APIRouter(
|
||||
prefix="/lnurlp",
|
||||
tags=["lnurlp"]
|
||||
# "lnurlp", __name__, static_folder="static", template_folder="templates"
|
||||
)
|
||||
|
||||
|
||||
@@ -37,8 +36,3 @@ from .views_api import * # noqa
|
||||
def lnurlp_start():
|
||||
loop = asyncio.get_event_loop()
|
||||
loop.create_task(catch_everything_and_restart(wait_for_paid_invoices))
|
||||
|
||||
|
||||
# from lnbits.tasks import record_async
|
||||
|
||||
# lnurlp_ext.record(record_async(register_listeners))
|
||||
|
||||
@@ -110,7 +110,6 @@ async def api_link_create_or_update(
|
||||
link = await update_pay_link(**data.dict(), link_id=link_id)
|
||||
else:
|
||||
link = await create_pay_link(data, wallet_id=wallet.wallet.id)
|
||||
print("LINK", link)
|
||||
return {**link.dict(), "lnurl": link.lnurl}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user