fix: correct Promise.allS to Promise.all in fetchWeekData function
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
061d601911
commit
2515c0d926
|
@ -284,7 +284,7 @@ const fetchWeekData = async () => {
|
|||
week: selectedWeekNumber.value,
|
||||
};
|
||||
try {
|
||||
const [{ data: mailData }, { data: countData }] = await Promise.allS([
|
||||
const [{ data: mailData }, { data: countData }] = await Promise.all([
|
||||
axios.get(`Workers/${route.params.id}/mail`, {
|
||||
params: { filter: { where } },
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue