mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
specific season: fixes an issue where an empty list is returned for future anime
This commit is contained in:
parent
5231362543
commit
1720d7aabb
@ -26,7 +26,8 @@ final class QuerySpecificAnimeSeasonHandler extends QueryAnimeSeasonHandlerBase
|
||||
*/
|
||||
|
||||
[$from, $to] = $this->getSeasonRange($request->year, $request->season);
|
||||
return $this->repository->getAiredBetween($from, $to, $type)
|
||||
->where("status", "!=", AnimeStatusEnum::upcoming()->label);
|
||||
|
||||
return $this->repository->getAiredBetween($from, $to, $type);
|
||||
// ->where("status", "!=", AnimeStatusEnum::upcoming()->label);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user