From 87d4117708b44b1d278ca99c2cc5529087f24fba Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Sat, 21 Sep 2024 20:42:19 +0100 Subject: [PATCH] docs: add note to /additional-entity about filename usage --- src/backend/app/projects/project_routes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/backend/app/projects/project_routes.py b/src/backend/app/projects/project_routes.py index 9d6e35d27c..e1be8ecb45 100644 --- a/src/backend/app/projects/project_routes.py +++ b/src/backend/app/projects/project_routes.py @@ -789,7 +789,11 @@ async def add_additional_entity_list( db: Session = Depends(database.get_db), project_user_dict: ProjectUserDict = Depends(project_manager), ): - """Add an additional Entity list for the project in ODK.""" + """Add an additional Entity list for the project in ODK. + + Note that the Entity list will be named from the filename + of the GeoJSON uploaded. + """ project = project_user_dict.get("project") project_id = project.id project_odk_id = project.odkid