Skip to content

Commit a137bb1

Browse files
committed
Lint pt2
1 parent 6d2f586 commit a137bb1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

backend/app/routes/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async def register_user(user: UserCreateRequest, user_service: UserService = Dep
2222
2323
2424
25-
25+
2626
]
2727
if user.role == UserRole.ADMIN:
2828
if user.email not in allowed_Admins:

backend/app/routes/ranking.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ async def get_ranking_preferences(
155155

156156
if item_id is not None and name:
157157
result.append(
158-
PreferenceItemWithName(
159-
kind=pref.kind, id=item_id, scope=pref.scope, rank=pref.rank, name=name
160-
)
158+
PreferenceItemWithName(kind=pref.kind, id=item_id, scope=pref.scope, rank=pref.rank, name=name)
161159
)
162160

163161
return result

0 commit comments

Comments
 (0)