diff --git a/fastapi_mail/schemas.py b/fastapi_mail/schemas.py index f53626d..eb32725 100644 --- a/fastapi_mail/schemas.py +++ b/fastapi_mail/schemas.py @@ -88,15 +88,6 @@ def validate_file(cls, v): ) return temp - @validator("subtype") - def validate_subtype(cls, value, values, config, field): - """ - Validate subtype field - """ - if values["template_body"]: - return MessageType.html - return value - @root_validator def validate_alternative_body(cls, values): """