Skip to content

Commit

Permalink
Merge pull request #482 from answerdev/feat/1.1.2/ui
Browse files Browse the repository at this point in the history
fix: replace unsubscribe api
  • Loading branch information
shuashuai authored Aug 22, 2023
2 parents b3fde86 + 7ed41c6 commit b8e938c
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 b8e938c

Please sign in to comment.