Update enums to be all caps (#12372)
- Make custom domain public (remove from lab) - Use ALL_CAPS definition for enums
This commit is contained in:
+3
-3
@@ -4,11 +4,11 @@ import { FeatureFlagKey } from '~/generated/graphql';
|
||||
const getFeatureKey = (databaseKey: string): FeatureFlagKey | null => {
|
||||
switch (databaseKey) {
|
||||
case 'airtable':
|
||||
return FeatureFlagKey.IsAirtableIntegrationEnabled;
|
||||
return FeatureFlagKey.IS_AIRTABLE_INTEGRATION_ENABLED;
|
||||
case 'postgresql':
|
||||
return FeatureFlagKey.IsPostgreSQLIntegrationEnabled;
|
||||
return FeatureFlagKey.IS_POSTGRESQL_INTEGRATION_ENABLED;
|
||||
case 'stripe':
|
||||
return FeatureFlagKey.IsStripeIntegrationEnabled;
|
||||
return FeatureFlagKey.IS_STRIPE_INTEGRATION_ENABLED;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user