From 932b4bd491dd1a39f7d093c2988021abb61bcc3a Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 16 Nov 2025 05:03:40 +0000 Subject: [PATCH] Update imports batch 28 cgen-c1da95dc141849ea909b37399f09c90c --- api/achievements/activate.ts | 2 +- api/discord/oauth/callback.ts | 4 ++-- api/interests.ts | 2 +- api/nexus/client/contracts.ts | 2 +- api/nexus/payments/webhook.ts | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/achievements/activate.ts b/api/achievements/activate.ts index e5354231..f7d101a9 100644 --- a/api/achievements/activate.ts +++ b/api/achievements/activate.ts @@ -1,7 +1,7 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; import { randomUUID } from "crypto"; import { createHash } from "crypto"; -import { getAdminClient } from "../_supabase"; +import { getAdminClient } from "../_supabase.js"; const generateDeterministicUUID = (str: string): string => { const hash = createHash("sha256").update(str).digest("hex"); diff --git a/api/discord/oauth/callback.ts b/api/discord/oauth/callback.ts index 71988c16..00c8e90c 100644 --- a/api/discord/oauth/callback.ts +++ b/api/discord/oauth/callback.ts @@ -1,6 +1,6 @@ import { createClient } from "@supabase/supabase-js"; -import { notifyAccountLinked } from "../../_notifications"; -import { getAdminClient } from "../../_supabase"; +import { notifyAccountLinked } from "../../_notifications.js"; +import { getAdminClient } from "../../_supabase.js"; export const config = { runtime: "nodejs", diff --git a/api/interests.ts b/api/interests.ts index 582de45f..b154a23d 100644 --- a/api/interests.ts +++ b/api/interests.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/nexus/client/contracts.ts b/api/nexus/client/contracts.ts index 02dfb059..2b6a848e 100644 --- a/api/nexus/client/contracts.ts +++ b/api/nexus/client/contracts.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/nexus/payments/webhook.ts b/api/nexus/payments/webhook.ts index 0164e385..8fcbfc03 100644 --- a/api/nexus/payments/webhook.ts +++ b/api/nexus/payments/webhook.ts @@ -1,6 +1,6 @@ import type { VercelRequest, VercelResponse } from "@vercel/node"; import Stripe from "stripe"; -import { getAdminClient } from "../../_supabase"; +import { getAdminClient } from "../../_supabase.js"; const stripe = new Stripe(process.env.STRIPE_SECRET_KEY || "", { apiVersion: "2024-11-20",