Skip to content

Commit

Permalink
Merge pull request #158 from Rash-Hit/complete-percentage-count-issue
Browse files Browse the repository at this point in the history
fixed-the-percentage-count-issue-in-course-card-component
  • Loading branch information
hkirat authored Mar 7, 2024
2 parents 80570f4 + 6d98b92 commit a25a53c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/db/course.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a25a53c

Please sign in to comment.