@eeplatform/basic-edu 1.10.22 → 1.10.23
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 +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -3843,15 +3843,13 @@ function useLearnerRepo() {
|
|
|
3843
3843
|
}
|
|
3844
3844
|
if (value.specialProgram) {
|
|
3845
3845
|
try {
|
|
3846
|
-
query["
|
|
3847
|
-
value.specialProgram
|
|
3848
|
-
);
|
|
3846
|
+
query["specialProgram"] = new import_mongodb7.ObjectId(value.specialProgram);
|
|
3849
3847
|
} catch (error2) {
|
|
3850
3848
|
throw new import_nodejs_utils10.BadRequestError("Invalid special program ID.");
|
|
3851
3849
|
}
|
|
3852
3850
|
cacheKeyOptions.specialProgram = value.specialProgram.toString();
|
|
3853
3851
|
} else {
|
|
3854
|
-
query["
|
|
3852
|
+
query["specialProgram"] = { $in: [null, ""] };
|
|
3855
3853
|
cacheKeyOptions.specialProgram = "none";
|
|
3856
3854
|
}
|
|
3857
3855
|
if (value.track) {
|