From 878d344faa6e77a2240a334b9bae33f4d90d7ba4 Mon Sep 17 00:00:00 2001 From: Ashley Date: Wed, 4 Dec 2024 08:24:34 +0000 Subject: [PATCH] Update: changed system user create names to legal names --- mooringlicensing/components/users/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mooringlicensing/components/users/utils.py b/mooringlicensing/components/users/utils.py index b78c92d3a..309a085b5 100644 --- a/mooringlicensing/components/users/utils.py +++ b/mooringlicensing/components/users/utils.py @@ -12,8 +12,8 @@ def create_system_user(email_user_id, email, first_name, last_name, dob, phone=N return SystemUser.objects.create( ledger_id_id=email_user_id, email=email, - first_name=first_name, - last_name=last_name, + legal_first_name=first_name, + legal_last_name=last_name, legal_dob=dob, phone_number=phone, mobile_number=mobile,