@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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @eeplatform/basic-edu
2
2
 
3
+ ## 1.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 0bf1dc4: Section management - required at least 1 personnel when generating sections
8
+
3
9
  ## 1.9.3
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -42888,6 +42888,11 @@ function useSectionService() {
42888
42888
  teachers.push(...teachersData.items);
42889
42889
  pageTeacher++;
42890
42890
  } while (pageTeacher < pagesTeachers);
42891
+ if (!teachers.length) {
42892
+ throw new import_nodejs_utils69.BadRequestError(
42893
+ "Could not proceed, no teaching personnel found."
42894
+ );
42895
+ }
42891
42896
  if (teachers.length) {
42892
42897
  for (let index = 0; index < teachers.length; index++) {
42893
42898
  const teacher = teachers[index];