mirror of https://gitee.com/answerdev/answer.git
Merge pull request #482 from answerdev/feat/1.1.2/ui
fix: replace unsubscribe api
This commit is contained in:
commit
b8e938cabc
|
@ -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 });
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue