@eeplatform/basic-edu 1.8.4 → 1.8.5
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.d.ts +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -367,7 +367,7 @@ declare function useEnrollmentRepo(): {
|
|
|
367
367
|
length: number;
|
|
368
368
|
}>;
|
|
369
369
|
updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
370
|
-
getById: (_id: string | ObjectId, status?: string) => Promise<
|
|
370
|
+
getById: (_id: string | ObjectId, status?: string) => Promise<TEnrollment | null>;
|
|
371
371
|
};
|
|
372
372
|
|
|
373
373
|
declare function useEnrollmentService(): {
|
package/dist/index.js
CHANGED
|
@@ -5562,6 +5562,7 @@ function useEnrollmentService() {
|
|
|
5562
5562
|
enrollment.learnerInfo.lrn = lrn;
|
|
5563
5563
|
await incrementById(counterId, session);
|
|
5564
5564
|
}
|
|
5565
|
+
enrollment.specialProgram = enrollment.specialProgram?.toString();
|
|
5565
5566
|
await addLearner(enrollment, session);
|
|
5566
5567
|
}
|
|
5567
5568
|
await session.commitTransaction();
|