Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: replace unsubscribe api

shuai7ed41c636c0b
diff --git a/ui/src/services/common.ts b/ui/src/services/common.ts
index bf44dc49..37930042 100644
--- a/ui/src/services/common.ts
+++ b/ui/src/services/common.ts
@@ -271,7 +271,7 @@ export const reopenQuestion = (params: { question_id: string }) => {
};
export const unsubscribe = (code: string) => {
- const apiUrl = '/answer/api/v1/user/email/notification';
+ const apiUrl = '/answer/api/v1/user/notification/unsubscribe';
return request.put(apiUrl, { code });
};