We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09970db commit c9801f9Copy full SHA for c9801f9
webapps/ee-api/lib/stripe.ts
@@ -176,7 +176,7 @@ export function stripeLink(entity: string, id: string) {
176
export async function exportSubscriptions(): Promise<Record<string, { customer: any; subscription: any }>> {
177
const result = {};
178
let starting_after: string | undefined = undefined;
179
- const products = Object.fromEntries((await getAvailableProducts()).map(p => [p.id, p]));
+ const products = Object.fromEntries((await getAvailableProducts({ custom: true })).map(p => [p.id, p]));
180
console.log("Products", products);
181
const cus2sub: Record<string, Stripe.Subscription[]> = {};
182
const sub2prod: Record<string, Stripe.Product> = {};
0 commit comments