mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-22 05:09:05 +00:00
server: fixes tests
This commit is contained in:
@@ -217,6 +217,9 @@ class DeletionStatus(BaseModel):
|
||||
async def transcripts_list(
|
||||
user: auth.UserInfo = Depends(auth.current_user),
|
||||
):
|
||||
if not user:
|
||||
raise HTTPException(status_code=401, detail="Not authenticated")
|
||||
|
||||
return paginate(await transcripts_controller.get_all(user_id=user["sub"]))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user