From a0ed432d2b3ffff22190c5e16e290b4cd490195f Mon Sep 17 00:00:00 2001 From: Romulus21 Date: Sat, 9 Mar 2024 15:34:30 +0100 Subject: [PATCH] add monthly rainfalls --- routes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api.php b/routes/api.php index d34becf..69a5721 100644 --- a/routes/api.php +++ b/routes/api.php @@ -28,7 +28,7 @@ Route::middleware('auth:sanctum')->group(function () { Route::post('/locations', [LocationController::class, 'store'])->name('location.store'); - Route::get('/rainfalls/last-months', [RainfallController::class, 'lastMonths'])->name('rainfalls.last'); + Route::get('/rainfalls/last-months', [RainfallController::class, 'lastMonths'])->name('rainfalls.last-months'); Route::get('/rainfalls/last', [RainfallController::class, 'lastRainfalls'])->name('rainfalls.last'); Route::get('/rainfalls/graph', [RainfallController::class, 'graphValue'])->name('rainfalls.graph');