hivemind converted

This commit is contained in:
Tiago vasconcelos
2021-10-28 10:55:22 +01:00
parent 20329c9778
commit ff1e8aff10
7 changed files with 95 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
from fastapi import APIRouter
from lnbits.db import Database
from lnbits.helpers import template_renderer
db = Database("ext_hivemind")
hivemind_ext: APIRouter = APIRouter(
prefix="/hivemind",
tags=["hivemind"]
)
def hivemind_renderer():
return template_renderer(["lnbits/extensions/hivemind/templates"])
from .views import * # noqa