Skip to content

Commit b8e938c

Browse files
author
dashuai
authored
Merge pull request #482 from answerdev/feat/1.1.2/ui
fix: replace unsubscribe api
2 parents b3fde86 + 7ed41c6 commit b8e938c

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)