fix: Hide opt-out option for ancillary email
This commit is contained in:
@@ -14,7 +14,6 @@ export const addPackageInput = z.object({
|
||||
comment: z.string().optional(),
|
||||
})
|
||||
),
|
||||
emailOptOut: z.boolean(),
|
||||
language: z.nativeEnum(Lang).transform((val) => langToApiLang[val]),
|
||||
})
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ export const bookingMutationRouter = router({
|
||||
headers,
|
||||
body: body,
|
||||
},
|
||||
{ language, emailOptOut: input.emailOptOut }
|
||||
{ language }
|
||||
)
|
||||
|
||||
if (!apiResponse.ok) {
|
||||
|
||||
Reference in New Issue
Block a user