Skip to content

Commit

Permalink
Fix typing issue in reused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Jun 7, 2024
1 parent 3a3bbfb commit 67fd140
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/galaxy/webapps/galaxy/services/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,7 @@ def get_index(
for key, value in user_dict.items():
if key in expose_keys:
limited_user[key] = value
user = LimitedUserModel(**limited_user)
rval.append(LimitedUserModel(**limited_user))
else:
user = UserModel(**user_dict)

rval.append(user)
rval.append(UserModel(**user_dict))
return rval

0 comments on commit 67fd140

Please sign in to comment.