fix: lnaddresses on new lnurlscan POST endpoint (#3305)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Optional
|
||||
|
||||
from lnurl import Lnurl, LnurlPayResponse
|
||||
from lnurl import LnAddress, Lnurl, LnurlPayResponse
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@ class CreateLnurlWithdraw(BaseModel):
|
||||
|
||||
|
||||
class LnurlScan(BaseModel):
|
||||
lnurl: Lnurl
|
||||
lnurl: Lnurl | LnAddress
|
||||
|
||||
Reference in New Issue
Block a user