mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 18:10:46 +02:00
remove identifier
This commit is contained in:
@ -51,7 +51,6 @@ class Addresses(BaseModel):
|
|||||||
|
|
||||||
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
|
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
|
||||||
text = f"Payment to {self.username}"
|
text = f"Payment to {self.username}"
|
||||||
identifier = f"{self.username}"
|
metadata = [["text/plain", text]]
|
||||||
metadata = [["text/plain", text], ["text/identifier", identifier]]
|
|
||||||
|
|
||||||
return LnurlPayMetadata(json.dumps(metadata))
|
return LnurlPayMetadata(json.dumps(metadata))
|
||||||
|
Reference in New Issue
Block a user