diff --git a/src/pages/mentorship/schedule.jsx b/src/pages/mentorship/schedule.jsx index 9cd560e58..8ca8c19f4 100644 --- a/src/pages/mentorship/schedule.jsx +++ b/src/pages/mentorship/schedule.jsx @@ -104,7 +104,7 @@ function MentorshipSchedule() { const res = await bc.mentorship({ services: academy.services.map((s) => s.slug).join(','), status: 'ACTIVE', - syllabus: allSyllabus?.join(','), + syllabus: allSyllabus?.join(',') || undefined, academy: academy.id, }).getMentor();