diff --git a/app/api/messages/route.ts b/app/api/messages/route.ts index 69f6178..2017d78 100644 --- a/app/api/messages/route.ts +++ b/app/api/messages/route.ts @@ -1,8 +1,8 @@ -import { currentProfile } from "@/lib/current-profile"; -import { db } from "@/lib/db"; +import { NextResponse } from "next/server"; import { Message } from "@prisma/client"; -import { NextResponse } from "next/server"; +import { currentProfile } from "@/lib/current-profile"; +import { db } from "@/lib/db"; const MESSAGES_BATCH = 10;