fixed unique update lnurlw

This commit is contained in:
benarc 2020-11-30 22:19:17 +00:00
parent edc533e902
commit ccb9d107d5

View File

@ -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}