mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
(bug) unable to generate stats
This commit is contained in:
parent
fa15d83820
commit
fc1689cf2e
@ -1,5 +1,9 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: unable to generate statistic
|
||||
- [TODO DEPLOY] `rails fablab:es:build_stats`
|
||||
- [TODO DEPLOY] `rails fablab:maintenance:regenerate_statistics[2023,6]`
|
||||
|
||||
## v6.1.0 2023 September 25
|
||||
|
||||
- improves api/notification controller to avoid failing when there is a notification with wrong notification_type in db
|
||||
|
@ -17,7 +17,7 @@ class Statistics::BuilderService
|
||||
private
|
||||
|
||||
def default_options
|
||||
yesterday = Time.current
|
||||
yesterday = 1.day.ago
|
||||
{
|
||||
start_date: yesterday.beginning_of_day,
|
||||
end_date: yesterday.end_of_day
|
||||
|
Loading…
x
Reference in New Issue
Block a user