mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 14:45:41 +01:00
20 lines
387 B
Python
20 lines
387 B
Python
import asyncio
|
|
|
|
from fastapi import APIRouter
|
|
|
|
from lnbits.db import Database
|
|
from lnbits.helpers import template_renderer
|
|
|
|
db = Database("ext_satspay")
|
|
|
|
|
|
satspay_ext: APIRouter = APIRouter(prefix="/satspay", tags=["satspay"])
|
|
|
|
|
|
def satspay_renderer():
|
|
return template_renderer(["lnbits/extensions/satspay/templates"])
|
|
|
|
|
|
from .views_api import * # noqa
|
|
from .views import * # noqa
|