From 4272005f6431bdfeb74c83471e6ceabaa5c7f7a6 Mon Sep 17 00:00:00 2001 From: Kuzuri247 Date: Sun, 22 Dec 2024 15:48:36 +0530 Subject: [PATCH] default --- app/api/teams/create-team/route.jsx | 2 +- app/api/teams/send-request/route.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/teams/create-team/route.jsx b/app/api/teams/create-team/route.jsx index 60547f3..d518950 100644 --- a/app/api/teams/create-team/route.jsx +++ b/app/api/teams/create-team/route.jsx @@ -1,7 +1,7 @@ import dbConnect from "../../../../lib/dbConnect"; import { teamSchema } from "../../../../model/Schema/teamSchema"; import { TeamModel } from "../../../../model/Team"; -import { UserModel } from "../../../../model/User"; +import UserModel from "../../../../model/User"; export async function POST(request) { await dbConnect(); diff --git a/app/api/teams/send-request/route.js b/app/api/teams/send-request/route.js index 08c3b76..8997e64 100644 --- a/app/api/teams/send-request/route.js +++ b/app/api/teams/send-request/route.js @@ -1,6 +1,6 @@ import dbConnect from "../../../../lib/dbConnect"; import { TeamModel } from "../../../../model/Team"; -import { UserModel } from "../../../../model/User"; +import UserModel from "../../../../model/User"; export async function POST(req) { await dbConnect();