diff --git a/src/api/reviewer/auth.ts b/src/api/reviewer/auth.ts index 44a09fc..a084131 100644 --- a/src/api/reviewer/auth.ts +++ b/src/api/reviewer/auth.ts @@ -10,7 +10,7 @@ export async function changeReviewerPassword(body: ReviewerChangePasswordBody): const { token } = readReviewerSession() if (!token) throw new Error('未登录') const r = await fetch(`${getApiBase()}/api/v1/review/auth/password`, { - method: 'PUT', + method: 'POST', headers: { Authorization: `Bearer ${token}`, Accept: 'application/json',