summaryrefslogtreecommitdiff
path: root/report/report_persistance.rb
diff options
context:
space:
mode:
Diffstat (limited to 'report/report_persistance.rb')
-rwxr-xr-xreport/report_persistance.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/report/report_persistance.rb b/report/report_persistance.rb
index 60fd454..588835e 100755
--- a/report/report_persistance.rb
+++ b/report/report_persistance.rb
@@ -243,7 +243,7 @@ module Reports
internal_server_error "report meta data missing" unless meta_data
meta_data[:report_type] = type
report = ReportData.create(meta_data)
- OpenTox::Authorization.check_policy(report.report_uri, OpenTox::RestClientWrapper.subjectid)
+ OpenTox::Authorization.check_policy(report.report_uri)
new_report_with_id(report_content, type, report.id)
end