avoid crash in CI when STRIPE is not set
ci/woodpecker/pr/woodpecker Pipeline failed Details

Signed-off-by: Loïc Dachary <loic@dachary.org>
Loïc Dachary 2022-10-04 09:09:01 +02:00
parent f30a609eed
commit 49cc50c5a8
Signed by: dachary
GPG Key ID: 992D23B392F9E4F2
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ PAYMENT_VARIANTS = {
"stripe": (
"payments.stripe.StripeProvider", # please don't change this
{
"secret_key": env.get_value("STRIPE_SECRET_KEY"),
"public_key": env.get_value("STRIPE_PUBLIC_KEY"),
"secret_key": env.get_value("STRIPE_SECRET_KEY", default="UNSET"),
"public_key": env.get_value("STRIPE_PUBLIC_KEY", default="UNSET"),
},
)
}