should be working
This commit is contained in:
@@ -24,6 +24,7 @@ lnurlp_ext: APIRouter = APIRouter(
|
||||
# "lnurlp", __name__, static_folder="static", template_folder="templates"
|
||||
)
|
||||
|
||||
|
||||
def lnurlp_renderer():
|
||||
return template_renderer(
|
||||
[
|
||||
@@ -37,13 +38,12 @@ from .views import * # noqa
|
||||
from .tasks import wait_for_paid_invoices
|
||||
from .lnurl 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))
|
||||
|
||||
Reference in New Issue
Block a user