STRIPE_SECRET_KEY not STRIPE_PUBLISHABLE_KEY

This commit is contained in:
3wc 2021-07-19 01:17:18 +02:00
parent 5367822747
commit c378c2b287

View File

@ -30,7 +30,7 @@ class StdoutMockFlaskMail:
load_dotenv(find_dotenv()) load_dotenv(find_dotenv())
for var_name in [ for var_name in [
"SPOKE_HOST_TOKEN", "HUB_TOKEN", "STRIPE_PUBLISHABLE_KEY", "SPOKE_HOST_TOKEN", "HUB_TOKEN", "STRIPE_SECRET_KEY",
"BTCPAY_PRIVATE_KEY", "MAIL_PASSWORD" "BTCPAY_PRIVATE_KEY", "MAIL_PASSWORD"
]: ]:
var = os.environ.get(f"{var_name}_FILE", False) var = os.environ.get(f"{var_name}_FILE", False)