mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
fix (userlist): don't overwrite page parameter
line 20 specifically excludes "page" among other keys
This commit is contained in:
parent
6fcae72eb4
commit
b4db19be7f
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user