Skip to content

Commit da8792b

Browse files
committed
Change count to size in the export service
1 parent 1257f29 commit da8792b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/services/exports/create.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ def call
1313

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

16-
points = time_framed_points
16+
points = time_framed_points
1717

18-
pp "====Exporting #{points.count} points"
18+
pp "====Exporting #{points.size} points"
1919

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

0 commit comments

Comments
 (0)