Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
esinx committed Sep 1, 2024
1 parent 106d040 commit 374d5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/accounts/oauth2_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class LabsOAuth2Validator(OAuth2Validator):
"pennid": "read",
"is_staff": "read",
"is_active": "read"})

def get_additional_claims(self, request):
return {
"name": request.user.preferred_name or
Expand Down
2 changes: 1 addition & 1 deletion backend/accounts/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
ConnectDiscoveryInfoView,
JwksInfoView,
TokenView,
)
)
from rest_framework import routers

from accounts.views import (
Expand Down

0 comments on commit 374d5af

Please sign in to comment.