@eeplatform/basic-edu 1.10.21 → 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 +12 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3756,13 +3756,14 @@ function useLearnerRepo() {
|
|
|
3756
3756
|
}
|
|
3757
3757
|
if (value.specialProgram) {
|
|
3758
3758
|
try {
|
|
3759
|
-
query["
|
|
3760
|
-
value.specialProgram
|
|
3761
|
-
);
|
|
3759
|
+
query["specialProgram"] = new ObjectId7(value.specialProgram);
|
|
3762
3760
|
} catch (error2) {
|
|
3763
3761
|
throw new BadRequestError10("Invalid special program ID.");
|
|
3764
3762
|
}
|
|
3765
3763
|
cacheKeyOptions.specialProgram = value.specialProgram.toString();
|
|
3764
|
+
} else {
|
|
3765
|
+
query["specialProgram"] = { $in: [null, ""] };
|
|
3766
|
+
cacheKeyOptions.specialProgram = "none";
|
|
3766
3767
|
}
|
|
3767
3768
|
if (value.track) {
|
|
3768
3769
|
try {
|