diff --git a/frontend/app/services/MetricService.ts b/frontend/app/services/MetricService.ts index 1b46c76f3..94f4b8288 100644 --- a/frontend/app/services/MetricService.ts +++ b/frontend/app/services/MetricService.ts @@ -98,7 +98,7 @@ export default class MetricService { } fetchIssue(metricId: string, issueId: string, params: any): Promise { - return this.client.post(`/custom_metrics/${metricId}/issues/${issueId}/sessions`, params) + return this.client.post(`/cards/${metricId}/issues/${issueId}/sessions`, params) .then((response: { json: () => any; }) => response.json()) .then((response: { data: any; }) => response.data || {}); }