@eeplatform/basic-edu 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -42980,6 +42980,11 @@ function useSectionService() {
42980
42980
  teachers.push(...teachersData.items);
42981
42981
  pageTeacher++;
42982
42982
  } while (pageTeacher < pagesTeachers);
42983
+ if (!teachers.length) {
42984
+ throw new BadRequestError64(
42985
+ "Could not proceed, no teaching personnel found."
42986
+ );
42987
+ }
42983
42988
  if (teachers.length) {
42984
42989
  for (let index = 0; index < teachers.length; index++) {
42985
42990
  const teacher = teachers[index];