diff --git a/web/service/common.ts b/web/service/common.ts index e4f66c7fea..aa8b7ff2d4 100644 --- a/web/service/common.ts +++ b/web/service/common.ts @@ -390,7 +390,7 @@ export const sendVerifyCode = (body: { email: string; phase: string; token?: str post('/account/change-email', { body }) export const verifyEmail = (body: { email: string; code: string; token: string }) => - post('/account/validity', { body }) + post('/account/change-email/validity', { body }) export const resetEmail = (body: { new_email: string; token: string }) => post('/account/change-email/reset', { body })