diff --git a/src/backend/app/auth/auth_routes.py b/src/backend/app/auth/auth_routes.py index 2bfc809dc..75e5ca085 100644 --- a/src/backend/app/auth/auth_routes.py +++ b/src/backend/app/auth/auth_routes.py @@ -249,7 +249,7 @@ async def get_or_create_user( @router.get("/me", response_model=FMTMUser) async def my_data( db: Annotated[Connection, Depends(db_conn)], - current_user: Annotated[AuthUser, Depends(login_required)], + current_user: Annotated[AuthUser, Depends(mapper_login_required)], ): """Read access token and get user details from OSM.