db wrong name

This commit is contained in:
arcbtc 2023-12-28 17:22:54 +00:00
parent 7b5a2a1e54
commit ea75373532
12 changed files with 9 additions and 12 deletions

View file

@ -1,13 +1,10 @@
import asyncio
from fastapi import APIRouter, Request, Response
from fastapi.routing import APIRoute
from fastapi import APIRouter
from lnbits.db import Database
from lnbits.helpers import template_renderer
from lnbits.tasks import catch_everything_and_restart
from typing import Callable
from fastapi.responses import JSONResponse
db = Database("ext_tempextension")
@ -22,7 +19,7 @@ temp_static_files = [
}
]
def template_renderer():
def temp_renderer():
return template_renderer(["temp/templates"])
from .lnurl import *