|
|
@@ -35,6 +35,7 @@ export class TemplateService {
|
|
|
async findAll(tenantId: string): Promise<AssessmentTemplate[]> {
|
|
|
return this.templateRepository.find({
|
|
|
where: { tenantId, isActive: true },
|
|
|
+ relations: ['knowledgeGroup'],
|
|
|
order: { createdAt: 'DESC' },
|
|
|
});
|
|
|
}
|