diff --git a/lnbits/extensions/withdraw/crud.py b/lnbits/extensions/withdraw/crud.py index b7ebc2a8..f6effa8f 100644 --- a/lnbits/extensions/withdraw/crud.py +++ b/lnbits/extensions/withdraw/crud.py @@ -16,9 +16,11 @@ def create_withdraw_link( uses: int, wait_time: int, is_unique: bool, + usescsv: str, ) -> WithdrawLink: with open_ext_db("withdraw") as db: + link_id = urlsafe_short_hash() db.execute( """