From 8c246042badc6549fde8296b754a6a2996a19174 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:52:59 +0530 Subject: [PATCH] fix: issue display properties endpoint fix --- web/services/issues.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/services/issues.service.ts b/web/services/issues.service.ts index 3755b27b1..2ea05dcc7 100644 --- a/web/services/issues.service.ts +++ b/web/services/issues.service.ts @@ -88,7 +88,7 @@ class ProjectIssuesServices extends APIService { } async getIssueProperties(workspaceSlug: string, projectId: string): Promise { - return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-properties/`) + return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-display-properties/`) .then((response) => response?.data) .catch((error) => { throw error?.response?.data; @@ -191,7 +191,7 @@ class ProjectIssuesServices extends APIService { async createIssueProperties(workspaceSlug: string, projectId: string, data: any): Promise { return this.post( - `/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-properties/`, + `/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-display-properties/`, data ) .then((response) => response?.data) @@ -207,7 +207,7 @@ class ProjectIssuesServices extends APIService { data: any ): Promise { return this.patch( - `/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-properties/` + + `/api/workspaces/${workspaceSlug}/projects/${projectId}/issue-display-properties/` + `${issuePropertyId}/`, data )