From 1e08666435883790d440d0e622792476cb7a5432 Mon Sep 17 00:00:00 2001 From: patrickwebsdev Date: Sat, 9 Nov 2024 01:02:47 -0300 Subject: [PATCH] fix: invalid type --- src/app/api/ofertas/[id]/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/ofertas/[id]/route.ts b/src/app/api/ofertas/[id]/route.ts index 36ccb4c..abeb755 100644 --- a/src/app/api/ofertas/[id]/route.ts +++ b/src/app/api/ofertas/[id]/route.ts @@ -1,7 +1,7 @@ import { createServerRoleClient } from '@/lib/supabase/serverrole'; import { NextRequest } from 'next/server'; -export async function GET(request: NextRequest, { params }: { params: { id: string } }) { +export async function GET(request: NextRequest, { params }: any) { const id = params.id; const supabase = await createServerRoleClient();