fix: api address of verify email

This commit is contained in:
JzoNg 2025-07-14 13:05:18 +08:00
parent 5afadb1540
commit 22232fd91d
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ export const sendVerifyCode = (body: { email: string; phase: string; token?: str
post<CommonResponse & { data: string }>('/account/change-email', { body })
export const verifyEmail = (body: { email: string; code: string; token: string }) =>
post<CommonResponse & { is_valid: boolean; email: string; token: string }>('/account/validity', { body })
post<CommonResponse & { is_valid: boolean; email: string; token: string }>('/account/change-email/validity', { body })
export const resetEmail = (body: { new_email: string; token: string }) =>
post<CommonResponse>('/account/change-email/reset', { body })