Skip to content

Commit

Permalink
Fixes for missing fields on registration page
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap committed Nov 18, 2024
1 parent 547da7c commit 27bcde4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _get_partner_and_validation_data(self, post):
partner_data["member_birthdate_date"],
validation_data["member_birthdate_date"],
error_data["member_birthdate_date"],
) = self._validate_membership_birthdate(post["member_birthdate_date"])
) = self._validate_membership_birthdate(post.get("member_birthdate_date", ""))
return partner_data, validation_data, error_data

def _get_new_member_vals_dict(self, partner_data):
Expand Down
2 changes: 1 addition & 1 deletion website_membership_registration_social/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _get_partner_and_validation_data(self, post):
partner_data["member_telegram"],
validation_data["member_telegram"],
error_data["member_telegram"],
) = self._validate_membership_telegram(post["member_telegram"])
) = self._validate_membership_telegram(post.get("member_telegram", ""))
return partner_data, validation_data, error_data

def _get_new_member_vals_dict(self, partner_data):
Expand Down

0 comments on commit 27bcde4

Please sign in to comment.