diff --git a/src/pages/Worker/Card/WorkerTimeControl.vue b/src/pages/Worker/Card/WorkerTimeControl.vue index f466c4f9a..cb9b36703 100644 --- a/src/pages/Worker/Card/WorkerTimeControl.vue +++ b/src/pages/Worker/Card/WorkerTimeControl.vue @@ -380,7 +380,7 @@ const updateWorkerTimeControlMail = async (state, reason) => { if (reason) params.reason = reason; - await axios.post('WorkerTimeControls/updateWorkerTimeControlMail', params); + await axios.post('WorkerTimeControls/updateMailState', params); await getMailStates(selectedDate.value); await fetchWeekData(); notify(t('globals.dataSaved'), 'positive');