Skip to content

Commit

Permalink
fix: fixes
Browse files Browse the repository at this point in the history
Co-authored-by: Shafqat Farhan <[email protected]>
  • Loading branch information
aht007 and shafqatfarhan authored Oct 17, 2024
1 parent c723dbd commit 27a3229
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions commerce_coordinator/apps/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,7 @@ def add_lms_user_id(self, called_from):
)
logger.info(log_message)
else:
log_message = (
'No lms_user_id found in social auth with id %s '
'for user %s. Called from %s',
social_auth_id,
self.id,
called_from
)
log_message = f'No lms_user_id found in social auth for user {self.id}. Called from {called_from}'
logger.warning(log_message)

def _get_lms_user_id_from_social_auth(self):
Expand Down

0 comments on commit 27a3229

Please sign in to comment.