Gops: Fix data field in incidents query (#88682)

Remove data field in incidents query
pull/88693/head
Sonia Aguilar 12 months ago committed by GitHub
parent ee157949e4
commit 2090270a13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      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<IncidentsPluginConfigDto, void>({
query: (integration) => ({
query: () => ({
url: getProxyApiUrl('/api/ConfigurationTrackerService.GetConfigurationTracker'),
data: integration,
data: {},
method: 'POST',
showErrorAlert: false,
}),

Loading…
Cancel
Save