Merge branch 'master' into Jukebox

This commit is contained in:
Ben Arc 2021-06-13 13:04:33 +01:00
commit e2c45b9256
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ async def lnurl_full_withdraw():
_external=True,
),
"k1": "0",
"minWithdrawable": 1 if wallet.withdrawable_balance else 0,
"minWithdrawable": 1000 if wallet.withdrawable_balance else 0,
"maxWithdrawable": wallet.withdrawable_balance,
"defaultDescription": f"{LNBITS_SITE_TITLE} balance withdraw from {wallet.id[0:5]}",
"balanceCheck": url_for(

View File

@ -22,7 +22,7 @@ async def create_charge(
lnbitswallet: Optional[str] = None,
webhook: Optional[str] = None,
completelink: Optional[str] = None,
completelinktext: Optional[str] = 'Back to Merchant',
completelinktext: Optional[str] = "Back to Merchant",
time: Optional[int] = None,
amount: Optional[int] = None,
) -> Charges: