subdomain formatting
This commit is contained in:
parent
2fb8eb505a
commit
9f6dc18be7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user