mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix missing pagination param in the oncall request (#81620)
Add skip_pagination param to the oncall request
This commit is contained in:
parent
3b2352f066
commit
ab891d92fb
@ -42,7 +42,11 @@ export const onCallApi = alertingApi.injectEndpoints({
|
|||||||
url: getProxyApiUrl('/api/internal/v1/alert_receive_channels/'),
|
url: getProxyApiUrl('/api/internal/v1/alert_receive_channels/'),
|
||||||
// legacy_grafana_alerting is necessary for OnCall.
|
// legacy_grafana_alerting is necessary for OnCall.
|
||||||
// We do NOT need to differentiate between these two on our side
|
// We do NOT need to differentiate between these two on our side
|
||||||
params: { filters: true, integration: [GRAFANA_ONCALL_INTEGRATION_TYPE, 'legacy_grafana_alerting'] },
|
params: {
|
||||||
|
filters: true,
|
||||||
|
integration: [GRAFANA_ONCALL_INTEGRATION_TYPE, 'legacy_grafana_alerting'],
|
||||||
|
skip_pagination: true,
|
||||||
|
},
|
||||||
showErrorAlert: false,
|
showErrorAlert: false,
|
||||||
}),
|
}),
|
||||||
transformResponse: (response: AlertReceiveChannelsResult) => {
|
transformResponse: (response: AlertReceiveChannelsResult) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user