fix: 整合验证修复9个代码缺口 - 历史限制3条、证书公开端点、题库默认DRAFT状态、Admin硬编码

This commit is contained in:
Developer
2026-05-15 10:09:27 +08:00
parent 97287b0fc4
commit 7ee13b3499
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -1578,7 +1578,7 @@ const initialState: Partial<EvaluationState> = {
const sessions = await this.sessionRepository.find({
where: { userId, status: AssessmentStatus.COMPLETED },
order: { createdAt: 'DESC' },
take: 100,
take: 3,
relations: ['template'],
});
return sessions;