forked from 3wordchant/capsul-flask
define BTCPAY_ENABLED based on URL and btcpay key, pass it explicitly
This commit is contained in:
@ -423,6 +423,7 @@ def account_balance():
|
||||
has_vms=len(vms_billed)>0,
|
||||
vms_billed=vms_billed,
|
||||
warning_text=warning_text,
|
||||
btcpay_enabled=current_app.config["BTCPAY_ENABLED"],
|
||||
payments=list(map(
|
||||
lambda x: dict(
|
||||
dollars=x["dollars"],
|
||||
|
Reference in New Issue
Block a user