Skip to content

Commit

Permalink
Added comment to payload
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Mar 16, 2024
1 parent 1f23ae6 commit 0791226
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lnurl.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ async def lnurl_params(
continue
if not check:
return {"status": "ERROR", "reason": "Switch params wrong"}

if comment:
duration = duration + "-" + comment
lnurldevicepayment = await create_lnurldevicepayment(
deviceid=device.id,
payload=duration,
Expand Down

0 comments on commit 0791226

Please sign in to comment.