import { NextResponse } from "next/server";
import { prisma } from "prisma/client";

export async function GET() {
  const companies = await prisma.company.findMany()

  return NextResponse.json(companies)
}