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');