diff --git a/src/api/user.ts b/src/api/user.ts index 4ade1e3d..d37eacfb 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -76,7 +76,7 @@ class UserAPI { */ static resetPassword(id: number, password: string) { return request({ - url: `${USER_BASE_URL}/${id}/password`, + url: `${USER_BASE_URL}/${id}/password/reset`, method: "put", params: { password: password }, });