From 3b600c10528daca06f1b6bb2b07c03f3f437c739 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Sat, 27 Jul 2024 22:08:40 +0200 Subject: [PATCH] Fix call to the background job to calculate visits --- .app_version | 2 +- CHANGELOG.md | 10 +++++++++- app/jobs/area_visits_calculating_job.rb | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.app_version b/.app_version index c81aa44a..e3e18070 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.9.7 +0.9.8 diff --git a/CHANGELOG.md b/CHANGELOG.md index 77d2a856..9e62e77a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 --- diff --git a/app/jobs/area_visits_calculating_job.rb b/app/jobs/area_visits_calculating_job.rb index adb6ec53..fe74ff9d 100644 --- a/app/jobs/area_visits_calculating_job.rb +++ b/app/jobs/area_visits_calculating_job.rb @@ -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