5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-07 13:05:46 +00:00

aplicar la operación!

This commit is contained in:
f 2022-04-23 15:06:17 -03:00
parent ed3f153919
commit 30861d240e

View file

@ -44,7 +44,7 @@ class StatCollectionJob < PeriodicJob
.where_dimensions(site_id: site.id)
.group("dimensions->'site_id'")
.rollup(name, interval: interval, update: true) do |rollup|
rollup.try(:operation, :value)
rollup.try(operation, :value)
end
end