From 05c346da934a1d2dc62cac9c64c0dfdf3a4dd67e Mon Sep 17 00:00:00 2001 From: hkirat Date: Thu, 1 Feb 2024 23:41:43 +0100 Subject: [PATCH] fix purchase --- src/utiles/appx.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utiles/appx.ts b/src/utiles/appx.ts index f3d6494b9..9b8e71fc2 100644 --- a/src/utiles/appx.ts +++ b/src/utiles/appx.ts @@ -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;