Browse Source

Refactoring

pull/6005/head
Thomas Kaul 4 weeks ago
parent
commit
521db500c6
  1. 2
      apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts

2
apps/api/src/services/data-provider/financial-modeling-prep/financial-modeling-prep.service.ts

@ -129,7 +129,7 @@ export class FinancialModelingPrepService implements DataProviderInterface {
response.countries = etfCountryWeightings
.filter(({ country: countryName }) => {
return countryName !== 'Other';
return countryName.toLowerCase() !== 'other';
})
.map(({ country: countryName, weightPercentage }) => {
let countryCode: string;

Loading…
Cancel
Save