This commit is contained in:
Tiago vasconcelos 2021-12-01 09:53:00 +00:00
parent a628f125c9
commit 44e0dd4c92

View File

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