From df606c54c898d57ddcc7b6a76ba924b092d1250b Mon Sep 17 00:00:00 2001 From: Dario Gieselaar Date: Thu, 19 Nov 2020 09:33:20 +0100 Subject: [PATCH] Fix type errors --- .../service_overview_transactions_table/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx index e872bc2a19f5ed..6a95ce2fe36f97 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/index.tsx @@ -37,8 +37,7 @@ import { ServiceOverviewTable } from '../service_overview_table'; type ServiceTransactionGroupItem = ValuesType< APIReturnType< - '/api/apm/services/{serviceName}/overview_transaction_groups', - 'GET' + 'GET /api/apm/services/{serviceName}/overview_transaction_groups' >['transaction_groups'] >; @@ -102,7 +101,8 @@ export function ServiceOverviewTransactionsTable(props: Props) { } return callApmApi({ - pathname: '/api/apm/services/{serviceName}/overview_transaction_groups', + endpoint: + 'GET /api/apm/services/{serviceName}/overview_transaction_groups', params: { path: { serviceName }, query: {