Merge pull request #536 from grafana/token-form-change-curl-endpoint
135 - change api endpoint
This commit is contained in:
commit
86149ae186
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue