Merge pull request #536 from grafana/token-form-change-curl-endpoint

135 - change api endpoint
This commit is contained in:
Rares Mardare 2022-09-16 16:07:43 +03:00 committed by GitHub
commit 86149ae186
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;