Skip to content

Commit 2eb3e46

Browse files
committed
chore: address copilot feedback.
django-oauth#1252 (review)
1 parent 611cd52 commit 2eb3e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2_provider/oauth2_validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ def _load_application(self, client_id, request):
203203
client_id and store it in request.client
204204
"""
205205
if request.client:
206-
""" check for cached client, to save the db hit if this has alredy been loaded """
206+
# check for cached client, to save the db hit if this has already been loaded
207207
if not isinstance(request.client, Application):
208-
log.debug("request.client is not an Application, something else set request.client erroroneously, resetting request.client.")
208+
log.debug("request.client is not an Application, something else set request.client erroneously, resetting request.client.")
209209
request.client = None
210210
elif request.client.client_id != client_id:
211211
log.debug("request.client client_id does not match the given client_id, resetting request.client.")

0 commit comments

Comments
 (0)