Skip to content

Commit eab031e

Browse files
amyfromandigithub-actions[bot]
authored andcommitted
Format code and sort imports
1 parent b4e2c92 commit eab031e

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

services/api-v3/api/routes/security.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -416,11 +416,12 @@ async def read_users_me(
416416

417417
if user is None:
418418
raise HTTPException(status_code=404, detail="User not found")
419-
return {"sub": user.sub,
420-
"email": user.email,
421-
"id": user.id,
422-
"name": user.name,
423-
"created_on": user.created_on,
424-
"updated_on": user.updated_on,
425-
"groups": [{"name": g.name, "id": g.id} for g in user.groups],
426-
}
419+
return {
420+
"sub": user.sub,
421+
"email": user.email,
422+
"id": user.id,
423+
"name": user.name,
424+
"created_on": user.created_on,
425+
"updated_on": user.updated_on,
426+
"groups": [{"name": g.name, "id": g.id} for g in user.groups],
427+
}

0 commit comments

Comments
 (0)