mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-22 14:22:55 +01:00
subdomain formatting
This commit is contained in:
parent
2fb8eb505a
commit
9f6dc18be7
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue