Skip to content

Commit

Permalink
[frontend] Fix project_log_rotate_manually task
Browse files Browse the repository at this point in the history
I had forgotten the environment in the task and because of that `Event`
couldn't be found.

Thanks @mdeniz.
  • Loading branch information
Ana06 committed Dec 12, 2017
1 parent dcfef4b commit 11d432b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/lib/tasks/project_log_rotate_manually.rake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
desc 'Run project log rotate job manually'
task :project_log_rotate_manually do
task(project_log_rotate_manually: :environment) do
event_types = Event::PROJECT_CLASSES | Event::PACKAGE_CLASSES
oldest_date = 10.days.ago

Expand Down

0 comments on commit 11d432b

Please sign in to comment.