mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
try1
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user