Fix call to the background job to calculate visits

This commit is contained in:
Eugene Burmakin 2024-07-27 22:08:40 +02:00
parent 7a100f7e2a
commit 3b600c1052
3 changed files with 11 additions and 3 deletions

View file

@ -1 +1 @@
0.9.7
0.9.8

View file

@ -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
---

View file

@ -7,6 +7,6 @@ class AreaVisitsCalculatingJob < ApplicationJob
user = User.find(user_id)
areas = user.areas
Areas::Visits::Create(user, areas).call
Areas::Visits::Create.new(user, areas).call
end
end