first commit
This commit is contained in:
5
calcom/apps/api/v1/lib/validations/payment.ts
Normal file
5
calcom/apps/api/v1/lib/validations/payment.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { _PaymentModel as Payment } from "@calcom/prisma/zod";
|
||||
|
||||
// FIXME: Payment seems a delicate endpoint, do we need to remove anything here?
|
||||
export const schemaPaymentBodyParams = Payment.omit({ id: true });
|
||||
export const schemaPaymentPublic = Payment.omit({ externalId: true });
|
||||
Reference in New Issue
Block a user