diff --git a/app/Http/Controllers/Api/HentaiApiController.php b/app/Http/Controllers/Api/HentaiApiController.php index 8fa8356..63c548f 100644 --- a/app/Http/Controllers/Api/HentaiApiController.php +++ b/app/Http/Controllers/Api/HentaiApiController.php @@ -44,7 +44,7 @@ class HentaiApiController extends Controller public function getMonthlyViews() { // Cache for 60 minutes - $data = Cache::remember('api_hentai_list', now()->addMinutes(60), function () { + $data = Cache::remember('api_monthly_views', now()->addMinutes(60), function () { return PopularMonthly::selectRaw('DATE(created_at) as date, COUNT(*) as count') ->groupBy('date') ->orderBy('date', 'asc')