Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik0605 committed Feb 24, 2025
1 parent a776e3d commit ae34e79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/api/referral/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ export async function GET(req: NextRequest) {
// Fetch all referrals from the referral table
const referrals = await prisma.referral.findMany();

console.log("Referrals:", referrals);

return NextResponse.json(JSON.parse(JSON.stringify(referrals, bigIntReplacer)), { status: 200 });
} catch (err) {
console.error("Error fetching referrals:", err);
Expand Down

0 comments on commit ae34e79

Please sign in to comment.