@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 +6 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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];
|