From b4db19be7ff72d5a26a9af26b5b567fd799395ce Mon Sep 17 00:00:00 2001 From: VernoxVernax Date: Fri, 27 Oct 2023 05:20:29 +0200 Subject: [PATCH] fix (userlist): don't overwrite page parameter line 20 specifically excludes "page" among other keys --- app/Services/JikanUserListRequestMapperService.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Services/JikanUserListRequestMapperService.php b/app/Services/JikanUserListRequestMapperService.php index a9dcd4e..5a7c1f2 100644 --- a/app/Services/JikanUserListRequestMapperService.php +++ b/app/Services/JikanUserListRequestMapperService.php @@ -28,10 +28,6 @@ final class JikanUserListRequestMapperService $values["sort"] = $values["sort"] === "asc" ? -1 : 1; } - if (!array_key_exists("page", $values)) { - $values["page"] = 1; - } - if ($listType->equals(UserListTypeEnum::anime())) { $rangeFrom = "airedFrom"; $rangeTo = "airedTo";