Skip to content

Commit

Permalink
LTI-XXX: fix for standardized messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico committed Jun 19, 2024
1 parent d2a2ca6 commit 06df82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bbb_lti_broker/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def custom_overrides(message)
next unless safe_custom_override_params.include?(param_name)

pattern = value.split(':')
message[param_name] = pattern[1] if pattern[0] == 'static'
message[param_name] = message['custom_params'][pattern[1]] if pattern[0] == 'param'
message[param_name] = pattern[1] if pattern[0] == 'static' && next
message[param_name] = message[pattern[1]] if pattern[0] == 'param'
end
message
end
Expand Down

0 comments on commit 06df82d

Please sign in to comment.