Skip to content

Commit

Permalink
remove unused index var
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfiredrill committed Nov 6, 2023
1 parent b9ccc46 commit 33743d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/show_series.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def save_episodes
self.start_date.day,
self.start_time.hour,
self.start_time.min
recurrences.each_with_index do |r, index|
recurrences.each_with_index do |r|
scheduled_show = self.episodes.new
scheduled_show.radio = self.radio
scheduled_show.dj = self.users.first # TODO drop dj_id from ScheduledShow?
Expand Down

0 comments on commit 33743d7

Please sign in to comment.