From f14d3b42a02478c471b7210d6e5f1b7c6e02da0d Mon Sep 17 00:00:00 2001 From: vimalsonara Date: Wed, 15 Nov 2023 20:33:03 +0530 Subject: [PATCH] Removed deleted mongodb model --- app/api/purchase/route.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/api/purchase/route.ts b/app/api/purchase/route.ts index 9b34620..f4df703 100644 --- a/app/api/purchase/route.ts +++ b/app/api/purchase/route.ts @@ -1,7 +1,6 @@ import { getServerSession } from "next-auth"; import { NextRequest, NextResponse } from "next/server"; import { authOptions } from "../auth/[...nextauth]/route"; -import PurchaseEntry from "@/models/purchase"; import { addDoc, collection, getDocs } from "firebase/firestore"; import { db } from "@/lib/firebaseConfig"; import { Purchase } from "@/types/types";