mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-04 01:48:02 +02:00
hard code indentifier
This commit is contained in:
parent
860c0258c2
commit
35eb8cd313
@ -49,9 +49,9 @@ class Addresses(BaseModel):
|
||||
paid: bool
|
||||
time: int
|
||||
|
||||
async def lnurlpay_metadata(self, domain) -> LnurlPayMetadata:
|
||||
text = f"Payment to {self.username}@{domain}"
|
||||
identifier = f"{self.username}@{domain}"
|
||||
async def lnurlpay_metadata(self) -> LnurlPayMetadata:
|
||||
text = f"Payment to {self.username}"
|
||||
identifier = f"{self.username}@lnto.name"
|
||||
metadata = [["text/plain", text], ["text/identifier", identifier]]
|
||||
|
||||
return LnurlPayMetadata(json.dumps(metadata))
|
||||
|
Loading…
x
Reference in New Issue
Block a user