style(rubocop): Lint/UnusedBlockArgument

This commit is contained in:
Adam Cooke
2024-02-10 17:20:13 +00:00
parent 7590a46234
commit ee94e4e1a0
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -157,7 +157,7 @@ class Server < ApplicationRecord
time = Time.now.utc
total_outgoing = 0.0
total_bounces = 0.0
message_db.statistics.get(:daily, [:outgoing, :bounces], time, 30).each do |date, stat|
message_db.statistics.get(:daily, [:outgoing, :bounces], time, 30).each do |_, stat|
total_outgoing += stat[:outgoing]
total_bounces += stat[:bounces]
end