From 6457f96c28eaeaa9c801529005317ff3108f1128 Mon Sep 17 00:00:00 2001 From: Zeyar Paing Date: Thu, 28 Nov 2024 14:39:22 +0700 Subject: [PATCH] use string curr --- packages/utils/src/cde_models.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/src/cde_models.ts b/packages/utils/src/cde_models.ts index 1cb3904..eefe628 100644 --- a/packages/utils/src/cde_models.ts +++ b/packages/utils/src/cde_models.ts @@ -149,7 +149,7 @@ export const PaymentFormPrefill = z.discriminatedUnion('mode', [ z .object({ mode: z.enum(['payment', 'subscription']), - currency: CurrencyEnum, + currency: z.string(), }) .extend(_PaymentFormPrefillCommon.shape), ]);