forked from hangshuo652/aurak
fix: 整合验证修复9个代码缺口 - 历史限制3条、证书公开端点、题库默认DRAFT状态、Admin硬编码
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user