mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-03 19:52:01 +02:00
Merge branch 'master' into Jukebox
This commit is contained in:
commit
e2c45b9256
@ -129,7 +129,7 @@ async def lnurl_full_withdraw():
|
|||||||
_external=True,
|
_external=True,
|
||||||
),
|
),
|
||||||
"k1": "0",
|
"k1": "0",
|
||||||
"minWithdrawable": 1 if wallet.withdrawable_balance else 0,
|
"minWithdrawable": 1000 if wallet.withdrawable_balance else 0,
|
||||||
"maxWithdrawable": wallet.withdrawable_balance,
|
"maxWithdrawable": wallet.withdrawable_balance,
|
||||||
"defaultDescription": f"{LNBITS_SITE_TITLE} balance withdraw from {wallet.id[0:5]}",
|
"defaultDescription": f"{LNBITS_SITE_TITLE} balance withdraw from {wallet.id[0:5]}",
|
||||||
"balanceCheck": url_for(
|
"balanceCheck": url_for(
|
||||||
|
@ -22,7 +22,7 @@ async def create_charge(
|
|||||||
lnbitswallet: Optional[str] = None,
|
lnbitswallet: Optional[str] = None,
|
||||||
webhook: Optional[str] = None,
|
webhook: Optional[str] = None,
|
||||||
completelink: Optional[str] = None,
|
completelink: Optional[str] = None,
|
||||||
completelinktext: Optional[str] = 'Back to Merchant',
|
completelinktext: Optional[str] = "Back to Merchant",
|
||||||
time: Optional[int] = None,
|
time: Optional[int] = None,
|
||||||
amount: Optional[int] = None,
|
amount: Optional[int] = None,
|
||||||
) -> Charges:
|
) -> Charges:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user