Skip to content

Commit b4d6661

Browse files
Fixed 'route.ts' in api/appointments that causes continues error in deployment and CI Turbo.
1 parent c268f39 commit b4d6661

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • apps/codebility/app/api/appointments

‎apps/codebility/app/api/appointments/route.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import { NextRequest, NextResponse } from "next/server";
44
import { createClient } from "@supabase/supabase-js";
55

6+
export const runtime = "nodejs"; // ✅ fixes Edge Runtime incompatibility
7+
68
// Use service role key directly — bypasses RLS for server-side inserts
79
const supabase = createClient(
810
process.env.NEXT_PUBLIC_SUPABASE_URL!,

0 commit comments

Comments
 (0)