jikan-me / jikan-rest

The REST API for Jikan
https://docs.api.jikan.moe/
MIT License
413 stars 268 forks source link

:ambulance: Fixed issues around the season endpoint #515

Closed pushrbx closed 4 months ago

pushrbx commented 4 months ago

I've introduced a regression in #482 where I used the wrong operators in mongodb and I forgot to add the case of "continuing" items from previous seasons. Fixes #487 Fixes #513

codecov[bot] commented 4 months ago

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (bb88011) 57.43% compared to head (8948dc1) 57.45%.

Files Patch % Lines
app/Repositories/DefaultAnimeRepository.php 76.92% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #515 +/- ## ============================================ + Coverage 57.43% 57.45% +0.02% Complexity 1352 1352 ============================================ Files 339 339 Lines 5206 5209 +3 ============================================ + Hits 2990 2993 +3 Misses 2216 2216 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.