Update imports batch 28
cgen-c1da95dc141849ea909b37399f09c90c
This commit is contained in:
parent
98e5d30339
commit
932b4bd491
5 changed files with 6 additions and 6 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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") {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue