Skip to content

Commit

Permalink
Update Season#tmdb_id during show refresh
Browse files Browse the repository at this point in the history
In general it shouldn't change but sometimes it might so let's just
update it
  • Loading branch information
maxjacobson committed Jul 6, 2024
1 parent 3f8cd49 commit ebc975d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/services/refresh_show.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
if season.present?
season.update!(
episode_count: tmdb_season.episode_count,
tmdb_id: tmdb_season.id,
tmdb_poster_path: tmdb_season.poster_path
)
else
Expand Down

0 comments on commit ebc975d

Please sign in to comment.