Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for missing fields on registration page #71

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading