diff --git a/api/_notifications.ts b/api/_notifications.ts index 5c9c32f3..dd12410f 100644 --- a/api/_notifications.ts +++ b/api/_notifications.ts @@ -1,4 +1,4 @@ -import { getAdminClient } from "./_supabase"; +import { getAdminClient } from "./_supabase.js"; export async function createNotification( userId: string, diff --git a/api/gameforge/sprint-join.ts b/api/gameforge/sprint-join.ts index b99627f4..69ec268e 100644 --- a/api/gameforge/sprint-join.ts +++ b/api/gameforge/sprint-join.ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; const admin = getAdminClient(); diff --git a/api/gameforge/sprint.ts b/api/gameforge/sprint.ts index 1076dc7b..05212c58 100644 --- a/api/gameforge/sprint.ts +++ b/api/gameforge/sprint.ts @@ -1,5 +1,5 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; const admin = getAdminClient(); diff --git a/api/passport/group/[groupname].ts b/api/passport/group/[groupname].ts index a178fdc3..7d9282b6 100644 --- a/api/passport/group/[groupname].ts +++ b/api/passport/group/[groupname].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/passport/subdomain/[username].ts b/api/passport/subdomain/[username].ts index e7c52dff..d2408d1e 100644 --- a/api/passport/subdomain/[username].ts +++ b/api/passport/subdomain/[username].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") {