Skip to content

Commit

Permalink
fix: get tii user details for viewer url
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Oct 17, 2023
1 parent 60d844a commit 61d347d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/turn_it_in/tii_action_get_view_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit 61d347d

Please sign in to comment.