diff --git a/plugins/retrolab/fps_retrolab/routes.py b/plugins/retrolab/fps_retrolab/routes.py index dac05156..57163060 100644 --- a/plugins/retrolab/fps_retrolab/routes.py +++ b/plugins/retrolab/fps_retrolab/routes.py @@ -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) @@ -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),