chore: Remove payment keys from appKeysSchema (#14298)

* Remove payment keys from appKeysSchema

* Update .env.example
This commit is contained in:
Joe Au-Yeung
2024-04-04 11:44:16 +00:00
committed by GitHub
parent a4fe9a51b5
commit addec46feb
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -169,8 +169,7 @@ STRIPE_WEBHOOK_SECRET=
STRIPE_WEBHOOK_SECRET_APPS=
STRIPE_PRIVATE_KEY=
STRIPE_CLIENT_ID=
PAYMENT_FEE_FIXED=
PAYMENT_FEE_PERCENTAGE=
# Use for internal Public API Keys and optional
API_KEY_PREFIX=cal_
-2
View File
@@ -26,6 +26,4 @@ export const appKeysSchema = z.object({
client_secret: z.string().startsWith("sk_").min(1),
public_key: z.string().startsWith("pk_").min(1),
webhook_secret: z.string().startsWith("whsec_").min(1),
payment_fee_fixed: z.number().min(0),
payment_fee_percentage: z.number().min(0),
});