mirror of https://gitee.com/answerdev/answer.git
fix: replace unsubscribe api
This commit is contained in:
parent
8ffa3b3d0e
commit
7ed41c636c
|
@ -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