Move STRIPE_PUBLIC_KEY to secrets (i.e. local configuration)

This commit is contained in:
fnux 2020-03-05 11:51:08 +01:00
commit 545727afe7
3 changed files with 3 additions and 6 deletions

View file

@ -64,7 +64,7 @@ def handle_stripe_error(f):
# Actual Stripe logic.
def public_api_key():
return uncloud.settings.STRIPE_PUBLIC_KEY
return uncloud.secrets.STRIPE_PUBLIC_KEY
def get_customer_id_for(user):
try: