diff --git a/kairon/shared/chat/broadcast/data_objects.py b/kairon/shared/chat/broadcast/data_objects.py index bfb4ed508..f862ba718 100644 --- a/kairon/shared/chat/broadcast/data_objects.py +++ b/kairon/shared/chat/broadcast/data_objects.py @@ -88,8 +88,8 @@ class MessageBroadcastSettings(Auditlog): recipients_config = EmbeddedDocumentField(RecipientsConfiguration) template_config = ListField(EmbeddedDocumentField(TemplateConfiguration)) pyscript = StringField() - template_name = StringField() - language_code = StringField() + template_name = StringField(default=None) + language_code = StringField(default=None) retry_count = IntField(default=0) bot = StringField(required=True) user = StringField(required=True)