Skip to content

Commit

Permalink
Merge pull request lichess-org#16532 from lichess-org/schlawg-patch-3
Browse files Browse the repository at this point in the history
hopefully fix update payment method on stripe
  • Loading branch information
ornicar authored Dec 6, 2024
2 parents cc36ba3 + c99afaf commit 7629954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/Plan.scala
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ final class Plan(env: Env) extends LilaController(env):
res <- info match
case Some(info: CustomerInfo.Monthly) =>
Ok.page(views.plan.indexStripe(me, patron, info, env.plan.stripePublicKey, pricing, gifts))

.map(_.withHeaders(crossOriginPolicy.unsafe*))
case Some(CustomerInfo.OneTime(cus)) =>
renderIndex(cus.email.map { EmailAddress(_) }, patron.some)
case None =>
Expand Down

0 comments on commit 7629954

Please sign in to comment.