diff --git a/lnbits/extensions/lnaddress/models.py b/lnbits/extensions/lnaddress/models.py index 1c73f30d..6f21278e 100644 --- a/lnbits/extensions/lnaddress/models.py +++ b/lnbits/extensions/lnaddress/models.py @@ -52,7 +52,6 @@ class Addresses(BaseModel): async def lnurlpay_metadata(self, domain) -> LnurlPayMetadata: text = f"Payment to {self.username}" identifier = f"{self.username}@{domain}" - metadata = [["text/plain", text], ["text/identifier"], identifier] - print(json.dumps(metadata)) - + metadata = [["text/plain", text], ["text/identifier", identifier]] + return LnurlPayMetadata(json.dumps(metadata))