diff --git a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts index 687dd5e107f87..7452c2b7d1600 100644 --- a/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/enterprise_search_content/api/connector/fetch_sync_jobs_api_logic.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { ConnectorSyncJob, SyncJobType } from '../../../../../common/types/connectors'; +import { ConnectorSyncJob } from '../../../../../common/types/connectors'; import { Paginate } from '../../../../../common/types/pagination'; import { createApiLogic } from '../../../shared/api_logic/create_api_logic'; diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts index b9e47c107a0e8..1cac51b7456cd 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/connectors.ts @@ -219,7 +219,7 @@ export function registerConnectorRoutes({ router, log }: RouteDependencies) { request.params.connectorId, request.query.from, request.query.size, - request.query.type as 'content'| 'access_control' | 'all' + request.query.type as 'content' | 'access_control' | 'all' ); return response.ok({ body: result }); })