π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix(web): add trailing slash to notification list API call (#9521)
Igor Bojczuk194266581c7f
diff --git a/apps/web/core/services/workspace-notification.service.ts b/apps/web/core/services/workspace-notification.service.tsindex fc5c3f86ea..efdcde83c2 100644--- a/apps/web/core/services/workspace-notification.service.ts+++ b/apps/web/core/services/workspace-notification.service.ts@@ -36,7 +36,7 @@ export class WorkspaceNotificationService extends APIService {params: TNotificationPaginatedInfoQueryParams): Promise<TNotificationPaginatedInfo | undefined> {try {- const { data } = await this.get(`/api/workspaces/${workspaceSlug}/users/notifications`, {+ const { data } = await this.get(`/api/workspaces/${workspaceSlug}/users/notifications/`, {params,});return data || undefined;diff --git a/packages/services/src/workspace/notification.service.ts b/packages/services/src/workspace/notification.service.tsindex c82ac55fa5..44539b0a9c 100644--- a/packages/services/src/workspace/notification.service.ts+++ b/packages/services/src/workspace/notification.service.ts@@ -42,7 +42,7 @@ export class WorkspaceNotificationService extends APIService {workspaceSlug: string,params: TNotificationPaginatedInfoQueryParams): Promise<TNotificationPaginatedInfo | undefined> {- return this.get(`/api/workspaces/${workspaceSlug}/users/notifications`, { params })+ return this.get(`/api/workspaces/${workspaceSlug}/users/notifications/`, { params }).then((response) => response?.data).catch((error) => {throw error?.response?.data;