From 6239c4a6333ba3d25542c9be6c6628367482fcd1 Mon Sep 17 00:00:00 2001 From: Niraj Adhikari Date: Thu, 28 Nov 2024 16:58:26 +0545 Subject: [PATCH] add trailing slash(/) in the regulator approval endpoint --- src/backend/app/projects/project_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/app/projects/project_routes.py b/src/backend/app/projects/project_routes.py index 4cc07a45..1d12141f 100644 --- a/src/backend/app/projects/project_routes.py +++ b/src/backend/app/projects/project_routes.py @@ -592,7 +592,7 @@ async def odm_webhook( return {"message": "Webhook received", "task_id": task_id} -@router.post("/regulator/comment/{project_id}", tags=["Regulator Approval"]) +@router.post("/regulator/comment/{project_id}/", tags=["Regulator Approval"]) async def regulator_approval( project_id: str, data: dict,