Merge pull request #453 from Vernoxvernax/master

Fix Userlists: Don't overwrite page parameter
This commit is contained in:
Irfan (Nekomata) 2023-10-28 09:03:30 +05:00 committed by GitHub
commit b4f4135e8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";