fix(web): add trailing slash to notification list API call (#9521)

list() omitted the trailing slash while every sibling method and the
Django route require /users/notifications/. Self-hosted (Traefik)
surfaces the upstream 404 as 500; unread badge still works.

Fixes makeplane/plane#9489
This commit is contained in:
Igor Bojczuk
2026-08-03 19:45:54 +02:00
committed by GitHub
parent 65f4a99657
commit 194266581c
2 changed files with 2 additions and 2 deletions

View File

@@ -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;