mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	fix(strategy): Correct error message
This commit is contained in:
		
							parent
							
								
									271cfcbfb8
								
							
						
					
					
						commit
						a6d61f421b
					
				| @ -102,7 +102,7 @@ exports.router = function(config) { | ||||
|             strategyStore | ||||
|                 .getStrategy(data.name) | ||||
|                 .then(() => | ||||
|                     reject(new NameExistsError('Feature name already exist')) | ||||
|                     reject(new NameExistsError('Strategy already exist!')) | ||||
|                 ) | ||||
|                 .catch(() => resolve(data)); | ||||
|         }); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user