another v1 fixup + moved lnurl stuff to models
This commit is contained in:
parent
42b5edaf5d
commit
8b2b36a4f9
11 changed files with 82 additions and 104 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue