diff --git a/src/db/course.ts b/src/db/course.ts index ab101461b..7b5c682e6 100644 --- a/src/db/course.ts +++ b/src/db/course.ts @@ -108,6 +108,7 @@ export async function getAllVideos(): Promise< const courses = await db.content.findMany({ where: { type: 'video', + hidden: false, }, }); Cache.getInstance().set('getAllVideos', [], courses);