Scheduling infrastructure for absolutely everyone.
Save event-type's currency on db (#2404)
Miguel Nieto A06df6c9e9162
diff --git a/apps/web/pages/event-types/[type].tsx b/apps/web/pages/event-types/[type].tsxindex 7cb5b3c375d..e7cab3a7ebc 100644--- a/apps/web/pages/event-types/[type].tsx+++ b/apps/web/pages/event-types/[type].tsx@@ -472,6 +472,7 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {requiresConfirmation: boolean;schedulingType: SchedulingType | null;price: number;+ currency: string;hidden: boolean;hideCalendarNotes: boolean;locations: { type: LocationType; address?: string; link?: string }[];@@ -915,6 +916,9 @@ const EventTypePage = (props: inferSSRProps<typeof getServerSideProps>) => {locations,...input} = values;++ if (requirePayment) input.currency = currency;+updateMutation.mutate({...input,locations,