Skip to content

Commit

Permalink
Fixing a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Jan 24, 2024
1 parent c15b4b6 commit ce239b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check_statistics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def requests(team_id, platform, start_date, end_date, language, type = nil)
end

def reports_received(team_id, platform, start_date, end_date, language)
TiplineRequest.where(team_id: team_id, language: language, smooch_report_received_at: start_date.to_i..end_date.to_i, platform: platform)
TiplineRequest.where(team_id: team_id, language: language, smooch_report_received_at: start_date.to_datetime.to_i..end_date.to_datetime.to_i, platform: platform)
end

def project_media_requests(team_id, platform, start_date, end_date, language, type = nil)
Expand Down

0 comments on commit ce239b6

Please sign in to comment.