4 Commits

Author SHA1 Message Date
Roardom
54bf613a71 fix: igdb omitting null fields causing error 500s
Igdb for some reason excludes a field if it's null, even if it's explicitly selected. This obviously breaks the api when it expects a field that isn't there.

fixes #4736
2025-11-29 06:21:33 +00:00
Roardom
46bfccc8b7 refactor: use enums for auth guards, middleware groups, and rate limits 2025-06-22 20:00:02 +00:00
Roardom
ea7c56e0c2 add: igdb rate limiter
Matches tmdb's numbers for now as I can't find anything on igdb about their limits, but it's good to not abuse them regardless.
2025-06-08 02:48:34 +00:00
Roardom
8fde78124b refactor: save igdb games to the database
Step 1 towards cleaner meta fetching code.

Users with a game category must run `php artisan fetch:meta` after migration.
2025-03-11 19:48:25 +00:00