Skip to content

Commit

Permalink
refactor: update documentation and improve invite user function docst…
Browse files Browse the repository at this point in the history
…ring
  • Loading branch information
Anuj-Gupta4 committed Dec 23, 2024
1 parent 90b77e3 commit b6c6b8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/manuals/field-mapping-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions src/backend/app/projects/project_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b6c6b8e

Please sign in to comment.