metadata change

This commit is contained in:
Ben Arc 2021-04-16 21:16:15 +01:00
parent 271f7bdac5
commit f8603ed643

View File

@ -20,7 +20,7 @@ async def lnurl_response(cp_id):
callback=url_for("copilot.lnurl_callback", cp_id=cp_id, _external=True),
min_sendable=10000,
max_sendable=50000000,
metadata=LnurlPayMetadata(json.dumps([["text/plain", cp.lnurl_title]])),
metadata="{'title':'" + cp.lnurl_title + "'}",
)
params = resp.dict()