Skip to content

Commit

Permalink
feat: added login auth on project read endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradip-p committed Aug 16, 2024
1 parent 04d4253 commit 033c7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async def read_projects(
async def read_project(
project_id: uuid.UUID,
db: Database = Depends(database.get_db),
# user_data: AuthUser = Depends(login_required),
user_data: AuthUser = Depends(login_required),
):
"""Get a specific project and all associated tasks by ID."""
project = await project_crud.get_project_info_by_id(db, project_id)
Expand Down

0 comments on commit 033c7b6

Please sign in to comment.