Skip to content

Commit 7ed41c6

Browse files
author
shuai
committed
fix: replace unsubscribe api
1 parent 8ffa3b3 commit 7ed41c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/services/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export const reopenQuestion = (params: { question_id: string }) => {
271271
};
272272

273273
export const unsubscribe = (code: string) => {
274-
const apiUrl = '/answer/api/v1/user/email/notification';
274+
const apiUrl = '/answer/api/v1/user/notification/unsubscribe';
275275
return request.put(apiUrl, { code });
276276
};
277277

0 commit comments

Comments
 (0)