From 529a126b5efad90df7f895efd45f204d2aed09b2 Mon Sep 17 00:00:00 2001 From: Ryan Liu Date: Fri, 19 Jan 2024 16:17:41 -0800 Subject: [PATCH] chore: fix marketo mapper (#2073) --- packages/core/remotes/impl/marketo/mappers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/remotes/impl/marketo/mappers.ts b/packages/core/remotes/impl/marketo/mappers.ts index 779e60eb0..a417f016e 100644 --- a/packages/core/remotes/impl/marketo/mappers.ts +++ b/packages/core/remotes/impl/marketo/mappers.ts @@ -19,7 +19,7 @@ export const fromMarketoFormFieldToFormField = (marketoFormField: MarketoFormFie name: marketoFormField.label, required: marketoFormField.required, dataFormat: marketoFormField.dataType, - dataOptions: marketoFormField.fieldMetaData?.values.map(({ label, value, isDefault }) => ({ + dataOptions: marketoFormField.fieldMetaData?.values?.map(({ label, value, isDefault }) => ({ label, value, isDefault,