Commit 6b42df61 authored by Petr Kalashnikov's avatar Petr Kalashnikov
Browse files

Remove email validation

parent b19f51cb
Pipeline #27798 passed with stage
in 58 seconds
......@@ -69,7 +69,7 @@ class NextOfKin(BaseModel):
lastname: str
id: str
phone: Optional[PHONE_REGEX]
email: Optional[EmailEmptyAllowedStr]
email: Optional[str]
relation: Optional[RelationEnum]
date_of_birth: Optional[str] # Date format must agree with system admin
address: Optional[str]
......@@ -92,8 +92,8 @@ class Person(BaseModel):
secret_number: Optional[PHONE_REGEX]
private_mobile: Optional[PHONE_REGEX]
private_phone: Optional[PHONE_REGEX]
email: Optional[EmailEmptyAllowedStr]
email_secondary: Optional[EmailEmptyAllowedStr]
email: Optional[str]
email_secondary: Optional[str]
org_import_id: Optional[str]
location_import_id: Optional[str]
company: Optional[str]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment