diff --git a/__init__.py b/__init__.py index b928336..a62265c 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,6 @@ import asyncio from fastapi import APIRouter -from fastapi.staticfiles import StaticFiles from lnbits.db import Database from lnbits.helpers import template_renderer @@ -15,14 +14,13 @@ events_ext: APIRouter = APIRouter(prefix="/events", tags=["Events"]) events_static_files = [ { "path": "/events/static", - "app": StaticFiles(packages=[("lnbits", "extensions/events/static")]), "name": "events_static", } ] def events_renderer(): - return template_renderer(["lnbits/extensions/events/templates"]) + return template_renderer(["events/templates"]) from .tasks import wait_for_paid_invoices diff --git a/config.json b/config.json index bdc8ba6..75f6ff5 100644 --- a/config.json +++ b/config.json @@ -2,5 +2,6 @@ "name": "Events", "short_description": "Sell and register event tickets", "tile": "/events/static/image/events.png", - "contributors": ["benarc"] + "contributors": ["benarc"], + "min_lnbits_version": "0.11.0" }