Skip to content

Commit

Permalink
LTI-382: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico committed Jun 20, 2024
1 parent fa23d13 commit 4a5e86c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/bbb_lti_broker/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,12 @@ def safe_custom_override_params
end

def keys_with_prefix(keys, prefix)
logger.debug("Keys: #{keys}")
prefixed_keys = {}

keys.each do |key, value|
prefixed_key = key.start_with?(prefix) ? key : "#{prefix}#{key}"
prefixed_keys[prefixed_key] = value
end
logger.debug("Prefixed keys: #{prefixed_keys}")

prefixed_keys
end
Expand Down

0 comments on commit 4a5e86c

Please sign in to comment.