Skip to content

Commit

Permalink
feat: send national id to pearson engine service (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-canon authored Oct 11, 2024
1 parent 17ab6ed commit 6b7da4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eox_nelp/api_clients/pearson_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def _get_user_data(self, user):
"address": user.profile.mailing_address,
"arabic_first_name": user.extrainfo.arabic_first_name,
"arabic_last_name": user.extrainfo.arabic_last_name,
"national_id": user.extrainfo.national_id,
}

def _get_platform_data(self):
Expand Down
1 change: 1 addition & 0 deletions eox_nelp/api_clients/tests/test_pearson_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class Profile:
class ExtraInfo:
arabic_first_name = "اختبار"
arabic_last_name = "مستخدم"
national_id = "1234567890"

profile = Profile()
extrainfo = ExtraInfo()
Expand Down

0 comments on commit 6b7da4f

Please sign in to comment.