diff --git a/src/engine/Api/V1/Processors/Paginate.php b/src/engine/Api/V1/Processors/Paginate.php index b8eadcae..da56a010 100644 --- a/src/engine/Api/V1/Processors/Paginate.php +++ b/src/engine/Api/V1/Processors/Paginate.php @@ -42,6 +42,6 @@ class Paginate implements ProcessorsInterface { $chunks = array_chunk($response, $length); - $response = isset($chunks[$page]) ? $chunks[$page] : []; + $response = isset($chunks[$page - 1]) ? $chunks[$page - 1] : []; } }