feat: add optional domain field (#120)
* feat: add optional domain field closes #119
This commit is contained in:
parent
76c5841bc8
commit
17135b45ae
8 changed files with 107 additions and 46 deletions
1
crud.py
1
crud.py
|
|
@ -65,6 +65,7 @@ async def create_pay_link(data: CreatePayLinkData) -> PayLink:
|
|||
created_at=now,
|
||||
updated_at=now,
|
||||
disposable=data.disposable if data.disposable is not None else True,
|
||||
domain=data.domain,
|
||||
)
|
||||
|
||||
await db.insert("lnurlp.pay_links", link)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue