fix: lnaddresses on new lnurlscan POST endpoint (#3305)
This commit is contained in:
parent
75016d1a27
commit
112a0f9698
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from lnurl import Lnurl, LnurlPayResponse
|
from lnurl import LnAddress, Lnurl, LnurlPayResponse
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -17,4 +17,4 @@ class CreateLnurlWithdraw(BaseModel):
|
||||||
|
|
||||||
|
|
||||||
class LnurlScan(BaseModel):
|
class LnurlScan(BaseModel):
|
||||||
lnurl: Lnurl
|
lnurl: Lnurl | LnAddress
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue