Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all stats no longer working #575

Open
arne182 opened this issue Dec 22, 2024 · 0 comments
Open

Update all stats no longer working #575

arne182 opened this issue Dec 22, 2024 · 0 comments

Comments

@arne182
Copy link
Contributor

arne182 commented Dec 22, 2024

Describe the bug
A clear and concise description of what the bug is.

Version
0.2.1

To Reproduce
Steps to reproduce the behavior:

  1. Go to status
  2. Click on Update all

TypeError in StatsController#update_all

no implicit conversion of Symbol into Integer
Extracted source (around line #36):
34 35 36 37 38 39 | def update_all current_user.years_tracked.each do \|year\| year[:months].each do \|month\| Stats::CalculatingJob.perform_later( current_user.id, year[:year], Date::ABBR_MONTHNAMES.index(month) ) -- | --

Rails.root: /var/app

Request

Parameters:

{"_method"=>"put"}

Response

Headers:

None

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Logs
If applicable, add logs from containers dawarich_app and dawarich_sidekiq to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant