Merge pull request #7108 from rekonder/aj_SCI_10193

Fix assigned repository export in project export [SCI-10193]
This commit is contained in:
ajugo 2024-02-20 09:54:11 +01:00 committed by GitHub
commit 3affe924ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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