fix: replace unsubscribe api

This commit is contained in:
shuai 2023-08-22 11:52:10 +08:00
parent 8ffa3b3d0e
commit 7ed41c636c
1 changed files with 1 additions and 1 deletions

View File

@ -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 });
};