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.
2 parents 66ae75b + 043f3b2 commit bc28cbfCopy full SHA for bc28cbf
lib/partner/index.ts
@@ -125,7 +125,11 @@ export async function uninstallInstallation(
125
126
// Installation is finalized immediately if it's on a free plan.
127
const billingPlan = billingPlanMap.get(installation.billingPlanId);
128
- return { finalized: billingPlan?.paymentMethodRequired === false };
+ return {
129
+ finalized:
130
+ billingPlan?.paymentMethodRequired === false ||
131
+ process.env.FORCE_FINALIZE_INSTALLATION === "true",
132
+ };
133
}
134
135
export async function listInstallations(): Promise<string[]> {
0 commit comments