mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-01-19 14:45:41 +01:00
fixed unique update lnurlw
This commit is contained in:
parent
edc533e902
commit
ccb9d107d5
@ -73,7 +73,8 @@ async def api_lnurl_callback(unique_hash):
|
|||||||
|
|
||||||
usescsv = ""
|
usescsv = ""
|
||||||
for x in range(1, link.uses - link.used):
|
for x in range(1, link.uses - link.used):
|
||||||
usescsv += "," + str(1)
|
usecv = link.usescsv.split(",")
|
||||||
|
usescsv += "," + str(usecv[x])
|
||||||
usescsv = usescsv[1:]
|
usescsv = usescsv[1:]
|
||||||
changes = {"open_time": link.wait_time + now, "used": link.used + 1, "usescsv": usescsv}
|
changes = {"open_time": link.wait_time + now, "used": link.used + 1, "usescsv": usescsv}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user