fix: stripe edge function typescript imports

This commit is contained in:
Marcio Bevervanso 2026-04-13 19:15:48 -03:00
parent f68617881a
commit b366d17a05

View file

@ -1,6 +1,6 @@
/// <reference lib="deno.ns" /> /// <reference lib="deno.ns" />
import Stripe from "https://esm.sh/stripe@16.12.0?target=deno"; import Stripe from "npm:stripe@16.12.0";
const STRIPE_SECRET_KEY = Deno.env.get("STRIPE_SECRET_KEY")!; const STRIPE_SECRET_KEY = Deno.env.get("STRIPE_SECRET_KEY")!;
const SUPABASE_URL = Deno.env.get("SUPABASE_URL")!; const SUPABASE_URL = Deno.env.get("SUPABASE_URL")!;