Skip to content

Commit

Permalink
chore: rename a variable to also just say "staff"
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-tran committed Jul 16, 2024
1 parent e14eae3 commit ed57f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benefits/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,5 @@ def add_google_sso_userinfo(user, request):

def add_staff_user_to_group(user, request):
if user.email in settings.GOOGLE_SSO_STAFF_LIST:
calitp_staff_group = Group.objects.get(name=STAFF_GROUP_NAME)
user.groups.add(calitp_staff_group)
staff_group = Group.objects.get(name=STAFF_GROUP_NAME)
user.groups.add(staff_group)

0 comments on commit ed57f17

Please sign in to comment.