Skip to content
Open
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
2 changes: 2 additions & 0 deletions apps/mymedicare_cb/authorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ def retrieve_relationships_data(self, request) -> List[Dict[str, Any]]:
verify=self.verify_ssl_internal,
)

log_dict = {'type': 'Authentication:relationships_retrieval', 'status': response.status_code}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This never actually gets logged. Need to add logger.info(log_dict), and change the key to response_code to match other logs.


if response.json().get('relationships'):
return response.json().get('relationships')
return []
Loading