mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-05-04 03:00:09 +08:00
fix user
This commit is contained in:
@@ -17,7 +17,7 @@ router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/", summary="所有用户", response_model=List[schemas.User])
|
||||
def read_users(
|
||||
def list_users(
|
||||
db: Session = Depends(get_db),
|
||||
current_user: User = Depends(get_current_active_superuser),
|
||||
) -> Any:
|
||||
|
||||
Reference in New Issue
Block a user