Fix assigned repository export in project export [SCI-10193] (#7087)

This commit is contained in:
ajugo 2024-02-15 11:33:23 +01:00 committed by GitHub
parent 7fe6aae843
commit b14912e70e
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