@eeplatform/basic-edu 1.10.5 → 1.10.6
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -36074,7 +36074,7 @@ function useEnrollmentService() {
|
|
|
36074
36074
|
enrollment.createdAt = /* @__PURE__ */ new Date();
|
|
36075
36075
|
enrollment.deletedAt = "";
|
|
36076
36076
|
delete enrollment.remarks;
|
|
36077
|
-
if (!enrollment.learnerInfo.lrn
|
|
36077
|
+
if (!enrollment.learnerInfo.lrn) {
|
|
36078
36078
|
const counter = await getByName(enrollment.schoolId);
|
|
36079
36079
|
if (!counter) {
|
|
36080
36080
|
throw new import_nodejs_utils32.InternalServerError(
|