Skip to content

Commit b1d0f63

Browse files
authored
orgs: Truncate description when updating Stripe customer (#18408)
Missed in #17669, which only addressed create
1 parent 250b447 commit b1d0f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

warehouse/subscriptions/services.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def update_customer(self, customer_id, name, description):
7474
return self.api.Customer.modify(
7575
customer_id,
7676
name=name,
77-
description=description,
77+
description=description[:300],
7878
)
7979

8080
def create_checkout_session(self, customer_id, price_ids, success_url, cancel_url):

0 commit comments

Comments
 (0)