🚨 Fixed linter errors and formatting

This commit is contained in:
Mawoka
2023-08-02 09:45:02 +02:00
parent 36dbd6cd60
commit f84900b99a
5 changed files with 152 additions and 146 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ async def get_mod_status(resp: Response, user: User = Depends(get_current_modera
@router.get("/quizzes")
async def get_newest_quizzes(
page: int = 1, all: bool = False, user: User = Depends(get_current_moderator)
page: int = 1, all: bool = False, user: User = Depends(get_current_moderator) # skipcq: PYL-W0622
) -> list[Quiz]:
if page < 1:
raise HTTPException(status_code=400, detail="page 1 is the first")