chore: removing unnecessary automate fix (#2417)
This commit is contained in:
committed by
GitHub
parent
adf0d7f05d
commit
ff55476cbc
@@ -62,16 +62,7 @@ const getEnabledModuleNames = () => {
|
||||
'webhooks'
|
||||
]
|
||||
|
||||
if (FF_AUTOMATE_MODULE_ENABLED) {
|
||||
// Push in after 'auth', important for scope order?
|
||||
const authIdx = moduleNames.indexOf('auth')
|
||||
if (authIdx !== -1) {
|
||||
moduleNames.splice(authIdx + 1, 0, 'automate')
|
||||
} else {
|
||||
moduleNames.push('automate')
|
||||
}
|
||||
}
|
||||
|
||||
if (FF_AUTOMATE_MODULE_ENABLED) moduleNames.push('automate')
|
||||
if (FF_GENDOAI_MODULE_ENABLED) moduleNames.push('gendo')
|
||||
return moduleNames
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user