Skip to content

Commit 11edee8

Browse files
committed
expand?
1 parent 69a4e4f commit 11edee8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

routes/keyManagement.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ keys
8080
api_key,
8181
};
8282
stripe.customers
83-
.retrieve(customer_id)
83+
.retrieve(customer_id, {expand: ['default_source']})
8484
.then((customer) => {
8585
const source = (customer as Stripe.Customer).default_source as Stripe.Card;
8686
toReturn.credit_brand = source?.brand;

0 commit comments

Comments
 (0)