fix: knowledgeItems → items
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 39s

This commit is contained in:
WangDL 2026-05-22 15:54:25 +08:00
parent 0e85231712
commit ff56b79659

View File

@ -35,7 +35,7 @@ export class AdminKnowledgeController {
include: {
user: { select: { nickname: true, email: true } },
sources: { where: { deletedAt: null }, take: 20 },
_count: { select: { knowledgeItems: true } },
_count: { select: { items: true } },
},
});
return kb;