Skip to content

Commit

Permalink
fix: udt hourly statistic
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz committed Dec 13, 2024
1 parent 2b4fa5c commit e3398fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/generate_udt_hourly_statistic_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def perform
ActiveRecord::Base.connection.execute("SET statement_timeout = 0")
Udt.where(udt_type: udt_types, published: true).find_each do |udt|
puts "Generating statistics for #{udt.id}"
RgbppHourlyStatistic.upsert(
UdtHourlyStatistic.upsert(
{
udt_id: udt.id,
amount: calc_amount(udt),
Expand Down

0 comments on commit e3398fd

Please sign in to comment.