Skip to content

Commit 26f447e

Browse files
committed
hotfix: tilda not required patronymic
1 parent 76d5d5a commit 26f447e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

partner_programs/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def post(self, request, *args, **kwargs):
9292
)
9393

9494
user = User.objects.create(
95-
**{field_name: data[field_name] for field_name in user_fields},
95+
**{field_name: data.get(field_name, "") for field_name in user_fields},
9696
birthday=date_to_iso(data["birthday"]),
9797
is_active=True, # bypass email verification
9898
onboarding_stage=None, # bypass onboarding

0 commit comments

Comments
 (0)