From fb58d70ddf8f14f2b2ca128505e6b255557ee583 Mon Sep 17 00:00:00 2001 From: Chris Berry Date: Tue, 25 Jun 2019 23:13:30 -0500 Subject: [PATCH] fix(core): do not send a cloud provider on v2 search calls (#7142) --- .../search/infrastructure/infrastructureSearchV2.service.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/scripts/modules/core/src/search/infrastructure/infrastructureSearchV2.service.ts b/app/scripts/modules/core/src/search/infrastructure/infrastructureSearchV2.service.ts index c0da9df0f9f..21f429d1b16 100644 --- a/app/scripts/modules/core/src/search/infrastructure/infrastructureSearchV2.service.ts +++ b/app/scripts/modules/core/src/search/infrastructure/infrastructureSearchV2.service.ts @@ -1,7 +1,6 @@ import { isEmpty } from 'lodash'; import { Observable, Subject } from 'rxjs'; -import { SETTINGS } from 'core/config'; import { UrlBuilder, IQueryParams } from 'core/navigation'; import { ISearchResultSet } from './infrastructureSearch.service'; @@ -21,9 +20,6 @@ export class InfrastructureSearchServiceV2 { } const params = { ...apiParams }; - if (SETTINGS.defaultProviders && SETTINGS.defaultProviders.length > 0) { - params.cloudProvider = SETTINGS.defaultProviders[0]; - } const types = searchResultTypeRegistry.getAll(); const otherResults$ = new Subject();