From b6c6b8ec262911c99ec73f626214a6d19da55ccd Mon Sep 17 00:00:00 2001 From: Anuj-Gupta4 Date: Mon, 23 Dec 2024 15:49:16 +0545 Subject: [PATCH] refactor: update documentation and improve invite user function docstring --- docs/manuals/field-mapping-examples.md | 2 +- src/backend/app/projects/project_routes.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/manuals/field-mapping-examples.md b/docs/manuals/field-mapping-examples.md index 51027e2b9..69d3052d4 100644 --- a/docs/manuals/field-mapping-examples.md +++ b/docs/manuals/field-mapping-examples.md @@ -9,7 +9,7 @@ This page provides some links to user-generated guides of FMTM over time. [Link](https://docs.google.com/document/d/1i6LPj3Ah860BaSQCLvmxqbLmcQB3fM0_W8n15NEeZPo/edit?tab=t.0) to project document, including detail on the mapping workflow. -## OSM Rwanda Remote Mapping +## OSM Rwanda Remote Mapping [Link](https://docs.google.com/document/d/12BvzLPhILTYhK_8b2TY_oAByNJILuoaomDqd3hJmvUc/edit?tab=t.0) OSM Rwanda user experience report diff --git a/src/backend/app/projects/project_routes.py b/src/backend/app/projects/project_routes.py index 10d659219..edda6677e 100644 --- a/src/backend/app/projects/project_routes.py +++ b/src/backend/app/projects/project_routes.py @@ -753,10 +753,7 @@ async def invite_new_user( invitee_username: str, osm_auth=Depends(init_osm_auth), ): - """Add a new project manager. - - The logged in user must be either the admin of the organisation or a super admin. - """ + """Invite a new user to a project.""" user_exists = await check_osm_user(invitee_username) if not user_exists: