refactor: dont use model property for lnurlpaymetadata (#97)

* refactor: dont use model property for lnurlpaymetadata
domain is really only needed if you do it with via the property. cleans
up code and makes it more readable
This commit is contained in:
dni ⚡ 2025-08-18 10:49:25 +02:00 committed by GitHub
commit 1d91b50a67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 23 additions and 29 deletions

View file

@ -55,7 +55,6 @@ async def create_pay_link(data: CreatePayLinkData) -> PayLink:
served_pr=0,
username=data.username,
zaps=data.zaps,
domain=None,
webhook_url=data.webhook_url,
webhook_headers=data.webhook_headers,
webhook_body=data.webhook_body,