mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-23 14:40:47 +01:00
also move very essential stuff from core/tasks.py to tasks.py so things are more organized.
14 lines
371 B
Python
14 lines
371 B
Python
from quart import Blueprint
|
|
|
|
|
|
lnurlp_ext: Blueprint = Blueprint("lnurlp", __name__, static_folder="static", template_folder="templates")
|
|
|
|
|
|
from .views_api import * # noqa
|
|
from .views import * # noqa
|
|
from .lnurl import * # noqa
|
|
from .tasks import on_invoice_paid
|
|
|
|
from lnbits.tasks import register_invoice_listener
|
|
|
|
register_invoice_listener("lnurlp", on_invoice_paid)
|