mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-04-06 13:11:25 +00:00
feat: Mise à jour de la page parent
This commit is contained in:
@ -37,10 +37,10 @@ export const fetchEstablishmentCompetencies = (establishment, cycle = 1) => {
|
||||
);
|
||||
};
|
||||
|
||||
export const fetchSpecialities = (establishment) => {
|
||||
return fetchWithAuth(
|
||||
`${BE_SCHOOL_SPECIALITIES_URL}?establishment_id=${establishment}`
|
||||
);
|
||||
export const fetchSpecialities = (establishment, schoolYear = null) => {
|
||||
let url = `${BE_SCHOOL_SPECIALITIES_URL}?establishment_id=${establishment}`;
|
||||
if (schoolYear) url += `&school_year=${schoolYear}`;
|
||||
return fetchWithAuth(url);
|
||||
};
|
||||
|
||||
export const fetchTeachers = (establishment) => {
|
||||
|
||||
Reference in New Issue
Block a user