mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-25 11:14:02 +02:00
subdomain formatting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import asyncio
|
||||
import httpx
|
||||
|
||||
import httpx
|
||||
from loguru import logger
|
||||
|
||||
from lnbits.core.models import Payment
|
||||
@@ -42,8 +42,6 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||
logger.error("could not create subdomain on cloudflare")
|
||||
return
|
||||
|
||||
|
||||
|
||||
### Use webhook to notify about cloudflare registration
|
||||
if domain and domain.webhook:
|
||||
async with httpx.AsyncClient() as client:
|
||||
|
Reference in New Issue
Block a user