diff --git a/app/models/report.rb b/app/models/report.rb index 38cc222d0..5f5ff7fb7 100644 --- a/app/models/report.rb +++ b/app/models/report.rb @@ -131,6 +131,7 @@ class Report < ApplicationRecord report.user = current_user report.team = current_team report.last_modified_by = current_user + report.settings[:task][:repositories] = content['repositories'] ReportActions::ReportContent.new(report, content, {}, current_user).save_with_content report end