another v1 fixup + moved lnurl stuff to models

This commit is contained in:
Arc 2024-11-15 00:06:28 +00:00
parent 42b5edaf5d
commit 8b2b36a4f9
11 changed files with 82 additions and 104 deletions

View file

@ -1,6 +1,7 @@
import asyncio
from fastapi import APIRouter
from lnbits.tasks import create_permanent_unique_task
from loguru import logger
from .crud import db
@ -39,8 +40,6 @@ def myextension_stop():
def myextension_start():
from lnbits.tasks import create_permanent_unique_task
task = create_permanent_unique_task("ext_myextension", wait_for_paid_invoices)
scheduled_tasks.append(task)