Skip to content

Commit

Permalink
Update cert.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmayDhobale authored May 30, 2024
1 parent cf88f68 commit e03fa22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/cert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const getCertificates = async () => {
return [];
}
const purchases = await getPurchases(session?.user.email || '');
const courses = purchases.filter((x) => x.certIssued === false);
const courses = purchases.filter((x) => x.certIssued === true);

const courseWithCert: {
course: Course;
Expand Down

0 comments on commit e03fa22

Please sign in to comment.