From d1a7ca67d4f95ddf958ef46caf8f693263e06f31 Mon Sep 17 00:00:00 2001 From: cesarLima1 Date: Fri, 24 May 2024 15:50:52 -0400 Subject: [PATCH] [TM-851] include siteId to create Site Polygon controller --- routes/api_v2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api_v2.php b/routes/api_v2.php index 4261cc69d..f2dcbf650 100644 --- a/routes/api_v2.php +++ b/routes/api_v2.php @@ -630,7 +630,7 @@ Route::put('/polygon/{uuid}', [TerrafundEditGeometryController::class, 'updateGeometry']); Route::put('/site-polygon/{uuid}', [TerrafundEditGeometryController::class, 'updateSitePolygon']); - Route::post('/site-polygon/{uuid}', [TerrafundEditGeometryController::class, 'createSitePolygon']); + Route::post('/site-polygon/{uuid}/{siteUuid}', [TerrafundEditGeometryController::class, 'createSitePolygon']); }); Route::get('/funding-programme', [FundingProgrammeController::class, 'index'])->middleware('i18n');