Skip to content

Commit

Permalink
Fix retrolab console
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Jan 4, 2022
1 parent b4f3fc7 commit 84da62f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/retrolab/fps_retrolab/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@

@router.get("/retro/tree", response_class=HTMLResponse)
async def get_tree(
lab_config=Depends(get_lab_config), auth_config=Depends(get_auth_config)
user: User = Depends(current_user),
lab_config=Depends(get_lab_config),
auth_config=Depends(get_auth_config),
):
return get_index("Tree", "tree", auth_config.collaborative, lab_config.base_url)

Expand All @@ -73,7 +75,7 @@ async def edit_file(

@router.get("/retro/consoles/{path:path}", response_class=HTMLResponse)
async def get_console(
patn,
path,
user: User = Depends(current_user),
lab_config=Depends(get_lab_config),
auth_config=Depends(get_auth_config),
Expand Down

0 comments on commit 84da62f

Please sign in to comment.