diff --git a/web/service/common.ts b/web/service/common.ts index bdb8437da4..35f2bd29e2 100644 --- a/web/service/common.ts +++ b/web/service/common.ts @@ -381,7 +381,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 })