mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Upgrade linting configuration
This commit is contained in:
@@ -61,7 +61,7 @@ async def test_app_client(
|
||||
def current_superuser(
|
||||
user: UserModel = Depends(
|
||||
fastapi_users.current_user(active=True, superuser=True)
|
||||
)
|
||||
),
|
||||
):
|
||||
return user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user