Minor update to feature flag name.
This commit is contained in:
parent
44a9b49efe
commit
d749286f3e
|
@ -53,7 +53,7 @@ exports.getTenantFeatureFlags = tenantId => {
|
||||||
return flags
|
return flags
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.FeatureFlag = {
|
exports.TenantFeatureFlag = {
|
||||||
LICENSING: "LICENSING",
|
LICENSING: "LICENSING",
|
||||||
GOOGLE_SHEETS: "GOOGLE_SHEETS",
|
GOOGLE_SHEETS: "GOOGLE_SHEETS",
|
||||||
USER_GROUPS: "USER_GROUPS",
|
USER_GROUPS: "USER_GROUPS",
|
||||||
|
|
|
@ -8,7 +8,7 @@ exports.fetch = async function (ctx) {
|
||||||
const defs = await getDefinitions()
|
const defs = await getDefinitions()
|
||||||
|
|
||||||
// for google sheets integration google verification
|
// for google sheets integration google verification
|
||||||
if (featureFlags.isEnabled(featureFlags.FeatureFlag.GOOGLE_SHEETS)) {
|
if (featureFlags.isEnabled(featureFlags.TenantFeatureFlag.GOOGLE_SHEETS)) {
|
||||||
defs[SourceName.GOOGLE_SHEETS] = googlesheets.schema
|
defs[SourceName.GOOGLE_SHEETS] = googlesheets.schema
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue