Skip to content

🚑 Fixed missing items issue in seasons endpoint#470

Merged
pushrbx merged 4 commits into
masterfrom
hotfix/469-season-endpoint
Jan 20, 2024
Merged

🚑 Fixed missing items issue in seasons endpoint#470
pushrbx merged 4 commits into
masterfrom
hotfix/469-season-endpoint

Conversation

@pushrbx
Copy link
Copy Markdown
Collaborator

@pushrbx pushrbx commented Jan 17, 2024

I've refactored the getAiredBetween method to do a query of "if premiered field not null query by premiered, otherwise fallback to aired.from and aired.to". This has fixed the issue in my test environment, where I tested whether "Frieren" is the top of the Fall 2023 season, and whether it's not missing.

@pushrbx pushrbx requested a review from a team as a code owner January 17, 2024 23:44
Copy link
Copy Markdown
Contributor

@irfan-dahir irfan-dahir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EuphoniumAnimeThumbsUpGIF

@pushrbx
Copy link
Copy Markdown
Collaborator Author

pushrbx commented Jan 20, 2024

I've tested this again, it works on my machine. 🐒

@pushrbx pushrbx merged commit 68fbd0c into master Jan 20, 2024
@pushrbx pushrbx deleted the hotfix/469-season-endpoint branch January 31, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants