From d61cbcd996e3f3e8440ebe734903539869352003 Mon Sep 17 00:00:00 2001 From: rodrigotiscareno Date: Mon, 6 May 2024 23:53:04 -0400 Subject: [PATCH] refresh validations to be less restrictive --- backend/python/app/resources/visit_dto.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/python/app/resources/visit_dto.py b/backend/python/app/resources/visit_dto.py index a37a4017..5d5caa08 100644 --- a/backend/python/app/resources/visit_dto.py +++ b/backend/python/app/resources/visit_dto.py @@ -25,15 +25,7 @@ def validate(self): error_list.append("user_id is invalid") if not self.childInformation: error_list.append("childInformation is invalid") - if not self.visitTimestamp: - error_list.append("visitTimestamp is invalid") if not self.attendance: error_list.append("attendance is invalid") - if not self.transportation: - error_list.append("transportation is invalid") - if not self.notes: - error_list.append("notes is invalid") - if not self.childAndFamilySupportWorker: - error_list.append("childAndFamilySupportWorker is invalid") return error_list