feat: move Slack config to installation settings (#11548)

- enable Slack Configuration via InstallationConfig
- list Slack integration in super admin settings
This commit is contained in:
Sojan Jose
2025-05-23 01:07:35 -07:00
committed by GitHub
parent 03c0a7c62e
commit c2d8e2ad77
10 changed files with 57 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
class GlobalConfigService
def self.load(config_key, default_value)
config = ENV.fetch(config_key) { GlobalConfig.get(config_key)[config_key] }
config = GlobalConfig.get(config_key)[config_key]
return config if config.present?
# To support migrating existing instance relying on env variables