From 9c0b30bde2e15de589da446af0d5a939e9240641 Mon Sep 17 00:00:00 2001 From: Rares Mardare Date: Fri, 16 Sep 2022 16:02:51 +0300 Subject: [PATCH] change api endpoint --- grafana-plugin/src/containers/ApiTokenSettings/ApiTokenForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-plugin/src/containers/ApiTokenSettings/ApiTokenForm.tsx b/grafana-plugin/src/containers/ApiTokenSettings/ApiTokenForm.tsx index 5457d4f6..f0f98b74 100644 --- a/grafana-plugin/src/containers/ApiTokenSettings/ApiTokenForm.tsx +++ b/grafana-plugin/src/containers/ApiTokenSettings/ApiTokenForm.tsx @@ -107,7 +107,7 @@ const ApiTokenForm = observer((props: TokenCreationModalProps) => { }); function getCurlExample(token) { - return `curl -H "Authorization: ${token}" ${getItem('onCallApiUrl')}/api/internal/v1/alert_receive_channels`; + return `curl -H "Authorization: ${token}" ${getItem('onCallApiUrl')}/api/v1/integrations`; } export default ApiTokenForm;