Skip to content

Commit

Permalink
refresh validations to be less restrictive
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigotiscareno committed May 7, 2024
1 parent 7ebeb1f commit d61cbcd
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions backend/python/app/resources/visit_dto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d61cbcd

Please sign in to comment.