mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-06 02:48:33 +02:00
try1
This commit is contained in:
parent
a628f125c9
commit
44e0dd4c92
@ -51,6 +51,6 @@ class Addresses(BaseModel):
|
||||
|
||||
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
|
||||
text = f"Payment to {self.username}@{self.domain}"
|
||||
metadata = [["text/identifier", text]]
|
||||
metadata = [["text/plain", text], ["text/identifier", "{self.username}@{self.domain}"]]
|
||||
|
||||
return LnurlPayMetadata(json.dumps(metadata))
|
||||
|
Loading…
x
Reference in New Issue
Block a user