Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Add submittedLeads beta feature flag

Rafie6fcaae2f049
diff --git a/apps/web/lib/edge-config/get-feature-flags.ts b/apps/web/lib/edge-config/get-feature-flags.ts
index 270a9387ce..4e85188acf 100644
--- a/apps/web/lib/edge-config/get-feature-flags.ts
+++ b/apps/web/lib/edge-config/get-feature-flags.ts
@@ -19,6 +19,7 @@ export const getFeatureFlags = async ({
analyticsSettingsSiteVisitTracking: false,
noProrationUpgrade: false,
rewardSpendLimit: false,
+ submittedLeads: false,
};
if (!process.env.EDGE_CONFIG) {
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index 70e0a2cd32..301e4b64f8 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -283,7 +283,8 @@ export type PlanProps = (typeof plans)[number];
export type BetaFeatures =
| "analyticsSettingsSiteVisitTracking"
| "noProrationUpgrade"
- | "rewardSpendLimit";
+ | "rewardSpendLimit"
+ | "submittedLeads";
export type PartnerBetaFeatures = "postbacks";