fix: lnaddresses on new lnurlscan POST endpoint (#3305)

This commit is contained in:
dni ⚡ 2025-08-13 08:45:36 +02:00 committed by GitHub
parent 75016d1a27
commit 112a0f9698
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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