"use strict";(()=>{var e={};e.id=387,e.ids=[387],e.modules={3524:e=>{e.exports=require("@prisma/client")},399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},2100:(e,t,r)=>{r.r(t),r.d(t,{originalPathname:()=>x,patchFetch:()=>q,requestAsyncStorage:()=>l,routeModule:()=>c,serverHooks:()=>h,staticGenerationAsyncStorage:()=>m});var s={};r.r(s),r.d(s,{GET:()=>d});var a=r(3278),n=r(5002),i=r(4877),o=r(1309),u=r(3524);let p=globalThis.prisma||new u.PrismaClient;async function d(){try{let e=await p.contactUsArea.findMany({orderBy:{createdAt:"desc"}});return o.NextResponse.json({success:!0,data:e})}catch(e){return console.error(e),o.NextResponse.json({success:!1,error:String(e)},{status:500})}}let c=new a.AppRouteRouteModule({definition:{kind:n.x.APP_ROUTE,page:"/api/admin/requests/route",pathname:"/api/admin/requests",filename:"route",bundlePath:"app/api/admin/requests/route"},resolvedPagePath:"/home/sachin/Documents/TECHNnOVATE/tecnnovates-website/app/api/admin/requests/route.js",nextConfigOutput:"standalone",userland:s}),{requestAsyncStorage:l,staticGenerationAsyncStorage:m,serverHooks:h}=c,x="/api/admin/requests/route";function q(){return(0,i.patchFetch)({serverHooks:h,staticGenerationAsyncStorage:m})}}};var t=require("../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[787,833],()=>r(2100));module.exports=s})();