feat: storing my issue view display properties (#1124)

This commit is contained in:
Anmol Singh Bhatia 2023-05-25 12:19:37 +05:30 committed by GitHub
parent f095594be9
commit def391cb76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 98 additions and 106 deletions

View file

@ -142,6 +142,14 @@ class WorkspaceService extends APIService {
});
}
async updateWorkspaceView(workspaceSlug: string, data: any): Promise<any> {
return this.post(`/api/workspaces/${workspaceSlug}/workspace-views/`, data)
.then((response) => response?.data)
.catch((error) => {
throw error?.response?.data;
});
}
async updateWorkspaceMember(
workspaceSlug: string,
memberId: string,