mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
fix: make GlobalConfig migrated from .env editable from UI (#3360)
This commit is contained in:
@@ -9,7 +9,7 @@ class GlobalConfigService
|
||||
|
||||
return if config_value.blank?
|
||||
|
||||
i = InstallationConfig.where(name: config_key).first_or_create(value: config_value)
|
||||
i = InstallationConfig.where(name: config_key).first_or_create(value: config_value, locked: false)
|
||||
# To clear a nil value that might have been cached in the previous call
|
||||
GlobalConfig.clear_cache
|
||||
i.value
|
||||
|
||||
Reference in New Issue
Block a user