@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/dist/index.mjs
CHANGED
|
@@ -36043,7 +36043,7 @@ function useEnrollmentService() {
|
|
|
36043
36043
|
enrollment.createdAt = /* @__PURE__ */ new Date();
|
|
36044
36044
|
enrollment.deletedAt = "";
|
|
36045
36045
|
delete enrollment.remarks;
|
|
36046
|
-
if (!enrollment.learnerInfo.lrn
|
|
36046
|
+
if (!enrollment.learnerInfo.lrn) {
|
|
36047
36047
|
const counter = await getByName(enrollment.schoolId);
|
|
36048
36048
|
if (!counter) {
|
|
36049
36049
|
throw new InternalServerError10(
|