Skip to content

Commit

Permalink
fix: role mapper to login required in data extract (#1450)
Browse files Browse the repository at this point in the history
Co-authored-by: sujanadh <[email protected]>
  • Loading branch information
Sujanadh and sujanadh authored Apr 17, 2024
1 parent f432316 commit db9f9a8
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 @@ -767,7 +767,7 @@ async def get_data_extract(
geojson_file: UploadFile = File(...),
form_category: Optional[str] = Form(None),
# config_file: Optional[str] = Form(None),
current_user: AuthUser = Depends(mapper),
current_user: AuthUser = Depends(login_required),
):
"""Get a new data extract for a given project AOI.
Expand Down

0 comments on commit db9f9a8

Please sign in to comment.