FIX: skip recurring events instead of bailing out

approved

#1

FIX: skip recurring events instead of bailing out

diff --git a/jobs/scheduled/ensure_expired_event_destruction.rb b/jobs/scheduled/ensure_expired_event_destruction.rb
index dea1bdd..065e0f4 100644
--- a/jobs/scheduled/ensure_expired_event_destruction.rb
+++ b/jobs/scheduled/ensure_expired_event_destruction.rb
@@ -22,7 +22,7 @@ module Jobs
 
         details = JSON.parse(pcf.value)
         details.each do |post_number, (_, from, to, _, recurring)|
-          return if recurring
+          next if recurring
 
           to_time = to ? Time.parse(to) : Time.parse(from) + 24.hours

GitHub sha: eba009c0


Approved #2