Browse Source
			
			
			Bugfix/fix countries in symbol profile overrides (#936)
			
				* Fix countries
* Update changelog
			
			
				pull/939/head
			
			
		 
		
			
				
					
						
						Thomas Kaul
					
					4 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
5 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					CHANGELOG.md
				
 
			
				- 
					
					
					 
					apps/api/src/services/symbol-profile.service.ts
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Skipped data enhancer (_Trackinsight_) if data is inaccurate | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Fixed | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					- Fixed an issue with countries in the symbol profile overrides | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					## 1.149.0 - 16.05.2022 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					### Added | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  | 
				
			
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -71,7 +71,7 @@ export class SymbolProfileService { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        item.assetSubClass = | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          item.SymbolProfileOverrides.assetSubClass ?? item.assetSubClass; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        item.countries = | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          (item.SymbolProfileOverrides.sectors as unknown as Country[]) ?? | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          (item.SymbolProfileOverrides.countries as unknown as Country[]) ?? | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					          item.countries; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        item.name = item.SymbolProfileOverrides?.name ?? item.name; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        item.sectors = | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |