Skip to content

Commit

Permalink
remove unneeded &
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlewap committed Dec 13, 2017
1 parent 3557dc0 commit f0de0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sniffer/adapters/excon_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def request_with_sniffer(datum)
query = datum[:path]
query += "?#{hash_to_query datum[:query]}" if datum[:query]
@data_item.request = Sniffer::DataItem::Request.new(host: datum[:host],
method: datum[:method]&.to_sym,
method: datum[:method].to_sym,
query: query,
headers: datum[:headers],
body: datum[:body].to_s,
Expand Down

0 comments on commit f0de0b3

Please sign in to comment.