README.md in mailkick-1.0.0 vs README.md in mailkick-1.0.1
- old
+ new
@@ -95,10 +95,10 @@
opt_outs.each do |opt_out|
subscriber = subscribers[opt_out[:email]]
next unless subscriber
subscriber.mailkick_subscriptions.each do |subscription|
- subscription.destroy if subscription.updated_at < opt_out[:time]
+ subscription.destroy if subscription.created_at < opt_out[:time]
end
end
end
```