Skip to content

Commit

Permalink
Add log to failing url
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyasantoss committed Mar 29, 2024
1 parent c196bc5 commit b9c0706
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ async def update_lnurldevice(

if data.switches:
url = req.url_for("lnurldevice.lnurl_v2_params", device_id=lnurldevice_id)
print(f"URL: {url}")

for _switch in data.switches:
_switch.lnurl = lnurl_encode(
str(url)
Expand Down
1 change: 1 addition & 0 deletions templates/lnurldevice/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ <h6 class="text-subtitle1 q-my-none">
}
this.formDialoglnurldevice.data.switches.push({
amount: 10,
description: '',
pin: 0,
duration: 1000,
variable: false,
Expand Down

0 comments on commit b9c0706

Please sign in to comment.