Skip to content

Commit

Permalink
Fix call to the background job to calculate visits
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Jul 27, 2024
1 parent 7a100f7 commit 3b600c1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .app_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.9.7
0.9.8
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Fixed

- Name of backgroun job to calculate visits
- Call to the background job to calculate visits

---

## [0.9.7] — 2024-07-27

### Fixed

- Name of background job to calculate visits

---

Expand Down
2 changes: 1 addition & 1 deletion app/jobs/area_visits_calculating_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ def perform(user_id)
user = User.find(user_id)
areas = user.areas

Areas::Visits::Create(user, areas).call
Areas::Visits::Create.new(user, areas).call
end
end

0 comments on commit 3b600c1

Please sign in to comment.