diff --git a/components/dashboard/src/components/BillingAccountSelector.tsx b/components/dashboard/src/components/BillingAccountSelector.tsx index 7fd7572a9aea80..76b1246754d391 100644 --- a/components/dashboard/src/components/BillingAccountSelector.tsx +++ b/components/dashboard/src/components/BillingAccountSelector.tsx @@ -27,7 +27,8 @@ export function BillingAccountSelector(props: { onSelected?: () => void }) { const teamsWithBilling: Team[] = []; Promise.all( teams.map(async (t) => { - const subscriptionId = await getGitpodService().server.findStripeSubscriptionIdForTeam(t.id); + const attributionId: string = AttributionId.render({ kind: "team", teamId: t.id }); + const subscriptionId = await getGitpodService().server.findStripeSubscriptionId(attributionId); if (subscriptionId) { teamsWithBilling.push(t); }