Minor update to feature flag name.

This commit is contained in:
mike12345567 2022-09-23 13:08:18 +01:00
parent 44a9b49efe
commit d749286f3e
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ exports.getTenantFeatureFlags = tenantId => {
return flags
}
exports.FeatureFlag = {
exports.TenantFeatureFlag = {
LICENSING: "LICENSING",
GOOGLE_SHEETS: "GOOGLE_SHEETS",
USER_GROUPS: "USER_GROUPS",

View File

@ -8,7 +8,7 @@ exports.fetch = async function (ctx) {
const defs = await getDefinitions()
// 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
}