@eeplatform/basic-edu 1.9.2 → 1.9.3
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 +0 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1653,7 +1653,7 @@ declare function useProgramScreeningRepo(): {
|
|
|
1653
1653
|
deleteById: (_id: string | ObjectId) => Promise<string>;
|
|
1654
1654
|
updateById: (_id: string | ObjectId, value: Pick<TProgramScreening, "specialProgram" | "specialProgramName" | "status">) => Promise<string>;
|
|
1655
1655
|
updateStatusByApplicantId: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<string>;
|
|
1656
|
-
getByApplicantId: (_id: string | ObjectId) => Promise<TProgramScreening>;
|
|
1656
|
+
getByApplicantId: (_id: string | ObjectId) => Promise<TProgramScreening | null>;
|
|
1657
1657
|
};
|
|
1658
1658
|
|
|
1659
1659
|
declare function useProgramScreeningController(): {
|
package/dist/index.js
CHANGED
|
@@ -4404,9 +4404,6 @@ function useProgramScreeningRepo() {
|
|
|
4404
4404
|
applicant: _id,
|
|
4405
4405
|
status: { $ne: "deleted" }
|
|
4406
4406
|
});
|
|
4407
|
-
if (!result) {
|
|
4408
|
-
throw new import_nodejs_utils15.BadRequestError("Program screening not found.");
|
|
4409
|
-
}
|
|
4410
4407
|
setCache(cacheKey, result, 300).then(() => {
|
|
4411
4408
|
import_nodejs_utils15.logger.log({
|
|
4412
4409
|
level: "info",
|