Skip to content

Commit

Permalink
Change count to size in the export service
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Jun 14, 2024
1 parent 1257f29 commit da8792b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/services/exports/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ def call

pp "====Exporting data for #{user.email} from #{start_at} to #{end_at}"

points = time_framed_points
points = time_framed_points

pp "====Exporting #{points.count} points"
pp "====Exporting #{points.size} points"

data = ::ExportSerializer.new(points, user.email).call
file_path = Rails.root.join('public', 'exports', "#{export.name}.json")
Expand Down

0 comments on commit da8792b

Please sign in to comment.