lib/fanforce/api/utils.rb in fanforce-api-0.9.3 vs lib/fanforce/api/utils.rb in fanforce-api-0.9.4
- old
+ new
@@ -37,10 +37,10 @@
def remove_nil_values(hash)
hash.clone.delete_if {|k,v| v.nil? }
end
def collect_known_params(params)
- params = params.symbolize_keys
+ params = symbolize_keys(params)
if is_present?(params[:app_id])
addon_type = :app
addon_id = params[:app_id]
elsif is_present?(params[:behavior_plugin_id])
addon_type = :plugin