mirror of
https://github.com/seerr-team/seerr.git
synced 2026-01-25 16:02:11 -05:00
* fix(mediarequest): explicitly set mediaId when creating Intermittent issue where media_request records were created with mediaId = NULL,causing TypeError when accessing request.media.tmdbId on the profile page. TypeORM's implicit relation-to-foreign-key mapping was failing intermittently. This sets the mediaId column explicitly and adds a guard to check to fail fast if media.id is not populated after save. fix #2315 * refactor: better logging when media id not found