lnbits / withdraw

LNbits Withdraw Extension
MIT License
6 stars 9 forks source link

Uses can't be updated after withdrawal #38

Closed LoadJulz closed 2 months ago

LoadJulz commented 2 months ago

I am trying to upgrade to the latest version of lnurlw, but currently having an issue with updating a LNURLw.

Steps to reproduce:

  1. Create a new LNURLw
  2. Withdraw Sats from the link
  3. Update the same LNURLw by increasing "uses" by one

If I do this I get as a response from the update api call:

{
    "detail": "invalid literal for int() with base 10: ''"
}