mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Gops: Fix data field in incidents query (#88682)
Remove data field in incidents query
This commit is contained in:
@@ -12,9 +12,9 @@ const getProxyApiUrl = (path: string) => `/api/plugins/${SupportedPlugin.Inciden
|
|||||||
export const incidentsApi = alertingApi.injectEndpoints({
|
export const incidentsApi = alertingApi.injectEndpoints({
|
||||||
endpoints: (build) => ({
|
endpoints: (build) => ({
|
||||||
getIncidentsPluginConfig: build.query<IncidentsPluginConfigDto, void>({
|
getIncidentsPluginConfig: build.query<IncidentsPluginConfigDto, void>({
|
||||||
query: (integration) => ({
|
query: () => ({
|
||||||
url: getProxyApiUrl('/api/ConfigurationTrackerService.GetConfigurationTracker'),
|
url: getProxyApiUrl('/api/ConfigurationTrackerService.GetConfigurationTracker'),
|
||||||
data: integration,
|
data: {},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
showErrorAlert: false,
|
showErrorAlert: false,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user