Merge branch 'refs/heads/develop' into feat/271-expedition-etape-1

# Conflicts:
#	CHANGELOG.md
This commit is contained in:
2026-02-12 08:18:17 +01:00
11 changed files with 575 additions and 4 deletions

View File

@@ -17,5 +17,8 @@ export async function createWeight(payload: WeightPayload) {
export async function updateWeight(id: number, payload: Partial<WeightPayload>) {
const api = useApi()
return api.patch<WeightEntryData>(`weights/${id}`, payload)
return api.patch<WeightEntryData>(`weights/${id}`, payload,{
toastErrorKey: 'errors.weight.update',
toastSuccessKey: 'success.weight.update'
})
}