feat: partial AUTH support
This commit is contained in:
parent
d0c6f1392b
commit
3648dc212c
7 changed files with 141 additions and 16 deletions
2
tasks.py
2
tasks.py
|
|
@ -3,13 +3,13 @@ import asyncio
|
|||
from loguru import logger
|
||||
|
||||
from lnbits.core.models import Payment
|
||||
|
||||
from lnbits.helpers import get_current_extension_name
|
||||
from lnbits.tasks import register_invoice_listener
|
||||
|
||||
from .crud import create_account, get_account, update_account
|
||||
from .models import NostrAccount
|
||||
|
||||
|
||||
async def wait_for_paid_invoices():
|
||||
invoice_queue = asyncio.Queue()
|
||||
register_invoice_listener(invoice_queue, get_current_extension_name())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue