We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f3dc89 + 4970c18 commit 8eb6ecaCopy full SHA for 8eb6eca
1 file changed
app/mailers/curation_mailer.rb
@@ -30,7 +30,7 @@ def events_require_approval(provider, cut_off_time)
30
31
# @events = @provider.events.where { |e| e.lmm_processed > cut_off_time }
32
@new_events = @provider.events.filter { |e| e.created_at > cut_off_time }
33
- @stale_events = @provider.events.filter { |e| e.stale? }
+ @stale_events = @provider.events.not_finished.filter { |e| e.stale? }
34
subject = t('mailer.events_require_approval.subject')
35
mail(subject:, to: @provider.content_curation_email) do |format|
36
format.html
0 commit comments