From 73ef2b625d20f8e5057894ada9171c11bab740ad Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Mon, 31 Aug 2026 20:08:23 +0200 Subject: [PATCH] fix: updated /user/password route --- src/api/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) }