From 69c53785c06a0871b5dcb587256d8392fd694a7c Mon Sep 17 00:00:00 2001 From: Aaron Caldwell Date: Thu, 6 Feb 2020 09:02:41 -0700 Subject: [PATCH] Get TELEMETRY_TYPE from constants --- .../plugins/maps/server/maps_telemetry/collectors/register.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/maps/server/maps_telemetry/collectors/register.ts b/x-pack/legacy/plugins/maps/server/maps_telemetry/collectors/register.ts index ebe3d38ef1428..1cc65f853e92e 100644 --- a/x-pack/legacy/plugins/maps/server/maps_telemetry/collectors/register.ts +++ b/x-pack/legacy/plugins/maps/server/maps_telemetry/collectors/register.ts @@ -6,7 +6,8 @@ import { UsageCollectionSetup } from 'src/plugins/usage_collection/server'; // @ts-ignore -import { getMapsTelemetry, TELEMETRY_TYPE } from '../maps_telemetry'; +import { getMapsTelemetry } from '../maps_telemetry'; +import { TELEMETRY_TYPE } from '../../../common/constants'; export function registerMapsUsageCollector( usageCollection: UsageCollectionSetup,