diff --git a/app/models/turn_it_in/tii_action_get_view_url.rb b/app/models/turn_it_in/tii_action_get_view_url.rb index 8bf518c49..a0e6b215d 100644 --- a/app/models/turn_it_in/tii_action_get_view_url.rb +++ b/app/models/turn_it_in/tii_action_get_view_url.rb @@ -20,7 +20,7 @@ def run def fetch_view_url exec_tca_call 'fetch view url' do data = TCAClient::SimilarityViewerUrlSettings.new( - viewer_user_id: params[:viewer_tii_id], + viewer_user_id: params['viewer_tii_id'] || params[:viewer_tii_id], locale: 'en-US', viewer_default_permission_set: "INSTRUCTOR" )