diff --git a/api/achievements/award.ts b/api/achievements/award.ts index f58e7406..f7c5bef5 100644 --- a/api/achievements/award.ts +++ b/api/achievements/award.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 !== "POST") diff --git a/api/staff/invoices.ts b/api/staff/invoices.ts index 2c98eae2..bf35ef9a 100644 --- a/api/staff/invoices.ts +++ b/api/staff/invoices.ts @@ -1,4 +1,4 @@ -import { supabase } from "../_supabase"; +import { supabase } from "../_supabase.js"; export default async (req: Request) => { if (req.method !== "GET") { diff --git a/api/staff/me.ts b/api/staff/me.ts index 077e2223..0a3c8a86 100644 --- a/api/staff/me.ts +++ b/api/staff/me.ts @@ -1,4 +1,4 @@ -import { supabase } from "../_supabase"; +import { supabase } from "../_supabase.js"; export default async (req: Request) => { if (req.method !== "GET") { diff --git a/api/staff/okrs.ts b/api/staff/okrs.ts index d86a62aa..deee58b0 100644 --- a/api/staff/okrs.ts +++ b/api/staff/okrs.ts @@ -1,4 +1,4 @@ -import { supabase } from "../_supabase"; +import { supabase } from "../_supabase.js"; export default async (req: Request) => { if (req.method !== "GET") {