diff --git a/src/api/users.ts b/src/api/users.ts index 03b25e0..25ea654 100644 --- a/src/api/users.ts +++ b/src/api/users.ts @@ -3,7 +3,7 @@ import { extractErrorMessage } from '@/api/http' import type { ChangePasswordPayload } from '@/types/auth' export async function changePasswordApi(payload: ChangePasswordPayload): Promise { - const response = await apiClient.post('/users/password', payload) + const response = await apiClient.post('/user/password', payload) if (!response.ok) { throw new Error(await extractErrorMessage(response, 'Failed to change password')) }