diff --git a/libs/application-generic/src/utils/sanitize-control-values.ts b/libs/application-generic/src/utils/sanitize-control-values.ts index c1431d69da7..86d6c284213 100644 --- a/libs/application-generic/src/utils/sanitize-control-values.ts +++ b/libs/application-generic/src/utils/sanitize-control-values.ts @@ -57,7 +57,7 @@ function sanitizeInApp(controlValues: InAppControlType) { const normalized: InAppControlType = { subject: controlValues.subject, body: sanitizeEmptyInput(controlValues.body), - avatar: controlValues.avatar, + avatar: sanitizeEmptyInput(controlValues.avatar), primaryAction: undefined, secondaryAction: undefined, redirect: undefined,