Properly update the usescsv in DB and links CSV export, to handle increasing the number of uses.
Test scenario
Previously when editing/updating the number of uses of an LNURLw the number of uses in the DB would get screwed and links would get buggy!
Steps:
Create a withdraw link (check CSV table)
Use it a couple of times
Edit the withdraw lnurl to increase the number of uses (re- check CSV table)
Expected result:
The links should have updated the number of uses, keeping the previous count. The CSV should have the correct amount of unique LNURL's
Properly update the
usescsv
in DB and links CSV export, to handle increasing the number of uses.Test scenario
Previously when editing/updating the number of uses of an LNURLw the number of uses in the DB would get screwed and links would get buggy!
Steps:
Expected result: The links should have updated the number of uses, keeping the previous count. The CSV should have the correct amount of unique LNURL's