From d04642c5a0ccd2a7558aed4ea5babb615eadcd33 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 16 Nov 2025 00:16:18 +0000 Subject: [PATCH] completionId: cgen-4ca41792a10e4d0a9705d995c903c691 cgen-4ca41792a10e4d0a9705d995c903c691 --- api/blog/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/blog/index.ts b/api/blog/index.ts index b591ee8b..b947eee0 100644 --- a/api/blog/index.ts +++ b/api/blog/index.ts @@ -1,5 +1,4 @@ import { createClient } from "@supabase/supabase-js"; -import type { VercelRequest, VercelResponse } from "@vercel/node"; const supabaseUrl = process.env.SUPABASE_URL || ""; const supabaseServiceRole = process.env.SUPABASE_SERVICE_ROLE || ""; @@ -117,7 +116,7 @@ async function fetchFromSupabase(limit: number = 50): Promise { } } -export default async function handler(req: VercelRequest, res: VercelResponse) { +export default async function handler(req: any, res: any) { res.setHeader("Content-Type", "application/json"); if (req.method !== "GET") {