mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
Change count to size in the export service
This commit is contained in:
parent
1257f295be
commit
da8792bbe1
1 changed files with 2 additions and 2 deletions
|
|
@ -13,9 +13,9 @@ class Exports::Create
|
|||
|
||||
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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue