mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
19 lines
427 B
Python
19 lines
427 B
Python
from fastapi import APIRouter
|
|
|
|
from lnbits.db import Database
|
|
from lnbits.helpers import template_renderer
|
|
|
|
db = Database("ext_lndhub")
|
|
|
|
lndhub_ext: APIRouter = APIRouter(prefix="/lndhub", tags=["lndhub"])
|
|
|
|
|
|
def lndhub_renderer():
|
|
return template_renderer(["lnbits/extensions/lndhub/templates"])
|
|
|
|
|
|
from .decorators import * # noqa
|
|
from .utils import * # noqa
|
|
from .views import * # noqa
|
|
from .views_api import * # noqa
|