From bc7ad49c63b63f2ed889ec1ff523590fe25f0df9 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Fri, 3 Feb 2023 11:13:09 +0100 Subject: [PATCH] change(ui) - cards api call --- frontend/app/services/MetricService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || {}); }