mirror of
https://github.com/makeplane/plane.git
synced 2026-08-29 10:08:51 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user