fix docker build error

This commit is contained in:
KMKoushik
2025-03-23 12:59:32 +11:00
parent 3eef910544
commit eb1f8e4fe6
2 changed files with 4 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ import Stripe from "stripe";
import { env } from "~/env";
import { db } from "../db";
function getStripe() {
export function getStripe() {
if (!env.STRIPE_SECRET_KEY) {
throw new Error("STRIPE_SECRET_KEY is not set");
}