Invite system and user registration #12

Merged
robin merged 4 commits from dev into main 2026-08-31 21:37:38 +02:00
Showing only changes of commit 73ef2b625d - Show all commits
+1 -1
View File
@@ -3,7 +3,7 @@ import { extractErrorMessage } from '@/api/http'
import type { ChangePasswordPayload } from '@/types/auth' import type { ChangePasswordPayload } from '@/types/auth'
export async function changePasswordApi(payload: ChangePasswordPayload): Promise<void> { export async function changePasswordApi(payload: ChangePasswordPayload): Promise<void> {
const response = await apiClient.post('/users/password', payload) const response = await apiClient.post('/user/password', payload)
if (!response.ok) { if (!response.ok) {
throw new Error(await extractErrorMessage(response, 'Failed to change password')) throw new Error(await extractErrorMessage(response, 'Failed to change password'))
} }