Skip to content

Commit

Permalink
fix: replace unsubscribe api
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Aug 22, 2023
1 parent 8ffa3b3 commit 7ed41c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/services/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
};

Expand Down

0 comments on commit 7ed41c6

Please sign in to comment.