Skip to content

Commit

Permalink
fix purchase
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirat committed Feb 1, 2024
1 parent 772f6a6 commit 05c346d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utiles/appx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const APPX_BASE_API = process.env.APPX_BASE_API;
const LOCAL_CMS_PROVIDER = process.env.LOCAL_CMS_PROVIDER;

export async function getPurchases(email: string) {
return [];
const courses = await db.course.findMany({});
if (LOCAL_CMS_PROVIDER) {
return courses;
Expand Down

0 comments on commit 05c346d

Please sign in to comment.