From 6c295aacaded958b416519c8256eb26bfa17ed8b Mon Sep 17 00:00:00 2001 From: Andrew Cain Date: Tue, 17 Oct 2023 21:55:19 +1100 Subject: [PATCH] fix: eula link in upload action --- app/models/turn_it_in/tii_action_upload_submission.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/turn_it_in/tii_action_upload_submission.rb b/app/models/turn_it_in/tii_action_upload_submission.rb index 8518911d1..5f23fb366 100644 --- a/app/models/turn_it_in/tii_action_upload_submission.rb +++ b/app/models/turn_it_in/tii_action_upload_submission.rb @@ -194,7 +194,7 @@ def tii_submission_data user_id: submitted_by_user.username, language: 'en-us', accepted_timestamp: submitted_by_user.tii_eula_date || DateTime.now, - version: submitted_by_user.tii_eula_version || TurnItIn.tii_eula_version + version: submitted_by_user.tii_eula_version || TurnItIn.eula_version ) end