diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php index dbf94d0..9d60d04 100644 --- a/src/Controller/MainController.php +++ b/src/Controller/MainController.php @@ -1010,14 +1010,14 @@ class MainController extends AppController { } private function _getBlockedList() { - $cachedList = Cache::read('blockedList', 'api_requests'); + $cachedList = Cache::read('list_blocked', 'api_requests'); if ($cachedList !== false) { return $cachedList; } // get the result from the api $response = self::curl_get(self::blockedListUrl); - Cache::write('blockedList', $response, 'api_requests'); + Cache::write('list_blocked', $response, 'api_requests'); return $response; } }