From 2090270a13c02f62fb051bb9e10962b68eefe449 Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Tue, 4 Jun 2024 14:42:56 +0200 Subject: [PATCH] Gops: Fix data field in incidents query (#88682) Remove data field in incidents query --- public/app/features/alerting/unified/api/incidentsApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/alerting/unified/api/incidentsApi.ts b/public/app/features/alerting/unified/api/incidentsApi.ts index 23901a47d62..3a449ca3fdb 100644 --- a/public/app/features/alerting/unified/api/incidentsApi.ts +++ b/public/app/features/alerting/unified/api/incidentsApi.ts @@ -12,9 +12,9 @@ const getProxyApiUrl = (path: string) => `/api/plugins/${SupportedPlugin.Inciden export const incidentsApi = alertingApi.injectEndpoints({ endpoints: (build) => ({ getIncidentsPluginConfig: build.query({ - query: (integration) => ({ + query: () => ({ url: getProxyApiUrl('/api/ConfigurationTrackerService.GetConfigurationTracker'), - data: integration, + data: {}, method: 'POST', showErrorAlert: false, }),