diff --git a/src/app/api/mapa/route.ts b/src/app/api/mapa/route.ts index c2cb5ff..dceb609 100644 --- a/src/app/api/mapa/route.ts +++ b/src/app/api/mapa/route.ts @@ -1,5 +1,5 @@ import { NextRequest } from 'next/server'; -import { createServerRoleClient } from '@/lib/supabase/server_role'; +import { createServerRoleClient } from '@/lib/supabase/serverrole'; export async function GET(req: NextRequest) { const url = new URL(req.url); diff --git a/src/app/api/ofertas/route.ts b/src/app/api/ofertas/route.ts index 5874694..c79aae6 100644 --- a/src/app/api/ofertas/route.ts +++ b/src/app/api/ofertas/route.ts @@ -1,5 +1,5 @@ import { NextRequest } from 'next/server'; -import { createServerRoleClient } from '@/lib/supabase/server_role'; +import { createServerRoleClient } from '@/lib/supabase/serverrole'; export async function GET(req: NextRequest) { // Acceder a los parámetros de búsqueda diff --git a/src/app/api/solicitudes/[id]/route.ts b/src/app/api/solicitudes/[id]/route.ts index 037cb5e..3f4fbe1 100644 --- a/src/app/api/solicitudes/[id]/route.ts +++ b/src/app/api/solicitudes/[id]/route.ts @@ -1,4 +1,4 @@ -import { createServerRoleClient } from '@/lib/supabase/server_role'; +import { createServerRoleClient } from '@/lib/supabase/serverrole'; import { NextRequest } from 'next/server'; export async function GET(request: NextRequest, { params }: { params: { id: string } }) { diff --git a/src/lib/supabase/service_role.ts b/src/lib/supabase/serverrole.ts similarity index 100% rename from src/lib/supabase/service_role.ts rename to src/lib/supabase/serverrole.ts