mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	BugFix: Fix undefined method compare_and_save (#921)
				
					
				
			Fix undefined method `compare_and_save` in config loader
This commit is contained in:
		| @@ -65,7 +65,7 @@ class ConfigLoader | |||||||
|     if config |     if config | ||||||
|       return false if config.value.to_s == account_features.to_s |       return false if config.value.to_s == account_features.to_s | ||||||
|  |  | ||||||
|       compare_and_save(config) |       compare_and_save_feature(config) | ||||||
|     else |     else | ||||||
|       save_as_new_config({ name: 'ACCOUNT_LEVEL_FEATURE_DEFAULTS', value: account_features }) |       save_as_new_config({ name: 'ACCOUNT_LEVEL_FEATURE_DEFAULTS', value: account_features }) | ||||||
|     end |     end | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Koichi MATSUMOTO
					Koichi MATSUMOTO