We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfa8b6b commit 579c70aCopy full SHA for 579c70a
static/app/views/alerts/list/rules/alertRulesList.tsx
@@ -141,7 +141,7 @@ function AlertRulesList() {
141
const handleDeleteRule = async (projectId: string, rule: CombinedAlerts) => {
142
const deleteEndpoints = {
143
[CombinedAlertType.ISSUE]: `/projects/${organization.slug}/${projectId}/rules/${rule.id}/`,
144
- [CombinedAlertType.METRIC]: `/projects/${organization.slug}/${projectId}/rules/${rule.id}/`,
+ [CombinedAlertType.METRIC]: `/organizations/${organization.slug}/alert-rules/${rule.id}/`,
145
[CombinedAlertType.UPTIME]: `/projects/${organization.slug}/${projectId}/uptime/${rule.id}/`,
146
};
147
0 commit comments