diff --git a/api/foundation/courses.ts b/api/foundation/courses.ts index 0f950a4d..0e797ed5 100644 --- a/api/foundation/courses.ts +++ b/api/foundation/courses.ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; export default async function handler(req: VercelRequest, res: VercelResponse) { const admin = getAdminClient(); diff --git a/api/foundation/mentorships.ts b/api/foundation/mentorships.ts index 40665d92..f4561096 100644 --- a/api/foundation/mentorships.ts +++ b/api/foundation/mentorships.ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; export default async function handler(req: VercelRequest, res: VercelResponse) { const admin = getAdminClient(); diff --git a/api/foundation/progress.ts b/api/foundation/progress.ts index 2f87f6b0..4b6d77ab 100644 --- a/api/foundation/progress.ts +++ b/api/foundation/progress.ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; export default async function handler(req: VercelRequest, res: VercelResponse) { const admin = getAdminClient(); diff --git a/api/passport/project/[slug].ts b/api/passport/project/[slug].ts index 13d2d6b7..bbe67469 100644 --- a/api/passport/project/[slug].ts +++ b/api/passport/project/[slug].ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../../_supabase"; +import { getAdminClient } from "../../_supabase.js"; export default async function handler(req: VercelRequest, res: VercelResponse) { if (req.method !== "GET") { diff --git a/api/staff/directory.ts b/api/staff/directory.ts index 234125c7..aed7e5d4 100644 --- a/api/staff/directory.ts +++ b/api/staff/directory.ts @@ -1,4 +1,4 @@ -import { supabase } from "../_supabase"; +import { supabase } from "../_supabase.js"; export default async (req: Request) => { if (req.method !== "GET") {