fix docker build error
This commit is contained in:
1 parent
3eef910544
commit
eb1f8e4fe6
2 files changed
+4
-7
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user