mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
Fix call to the background job to calculate visits
This commit is contained in:
parent
7a100f7e2a
commit
3b600c1052
3 changed files with 11 additions and 3 deletions
|
|
@ -1 +1 @@
|
||||||
0.9.7
|
0.9.8
|
||||||
|
|
|
||||||
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -10,7 +10,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
### Fixed
|
### 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
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,6 @@ class AreaVisitsCalculatingJob < ApplicationJob
|
||||||
user = User.find(user_id)
|
user = User.find(user_id)
|
||||||
areas = user.areas
|
areas = user.areas
|
||||||
|
|
||||||
Areas::Visits::Create(user, areas).call
|
Areas::Visits::Create.new(user, areas).call
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue