Skip to content

Commit

Permalink
[PRMP-1257] update UserId log
Browse files Browse the repository at this point in the history
  • Loading branch information
steph-torres-nhs committed Dec 5, 2024
1 parent 67a3fe8 commit 28d1411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lambdas/services/nrl_api_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_pointer(self, nhs_number, record_type=None, retry_on_expired: bool = Tru
"HTTP Verb: GET, \n"
f"ODS code: {self.end_user_ods_code}, \n"
f"Datetime: {int(datetime.now().timestamp())}, \n"
f"UserID: {self.end_user_ods_code}, \n"
f"UserID: {self.end_user_ods_code} - {NRL_USER_ID}, \n"
)
try:
self.set_x_request_id()
Expand Down Expand Up @@ -114,7 +114,7 @@ def delete_pointer(self, nhs_number, record_type):
f"ODS code: {self.end_user_ods_code}, \n"
f"NHS number: {nhs_number}, \n"
f"Datetime: {int(datetime.now().timestamp())}, \n"
f"UserID: {self.end_user_ods_code} \n"
f"UserID: {self.end_user_ods_code} - {NRL_USER_ID} \n"
)
try:
response = self.session.delete(url=url_endpoint, headers=self.headers)
Expand Down

0 comments on commit 28d1411

Please sign in to comment.