From 221ed8009ad3749dc87627c6e6bf8f9b679f1696 Mon Sep 17 00:00:00 2001 From: Du Peng Date: Mon, 21 Oct 2024 12:08:23 +0200 Subject: [PATCH] (bug) unable to run open project update task --- CHANGELOG.md | 2 ++ lib/tasks/fablab/openlab.rake | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be0141b590..b5ab42cb29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Next release +- Fix a bug: unable to run open project update task + ## v6.3.33 2024 October 2 - Fix a bug: unable to reset OpenApi token diff --git a/lib/tasks/fablab/openlab.rake b/lib/tasks/fablab/openlab.rake index 927593e146..8c46a451d8 100644 --- a/lib/tasks/fablab/openlab.rake +++ b/lib/tasks/fablab/openlab.rake @@ -19,7 +19,7 @@ namespace :fablab do task bulk_update: :environment do if Setting.get('openlab_app_id').present? && Setting.get('openlab_app_secret').present? Project.find_each do |project| - project.openlab_update + project.openlab_create_or_update puts '-> Done' end else