Skip to content

Commit

Permalink
Use target module for the Params::Builder instead of an deprecated …
Browse files Browse the repository at this point in the history
…alias
  • Loading branch information
Sija committed Jan 11, 2024
1 parent 6200a15 commit 990a765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raven/processors/sanitize_data.cr
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module Raven
query_hash = process(query_hash)
# TODO: need to make a PR with some API improvements to `HTTP::Params`
sanitized = String.build do |io|
builder = HTTP::Params::Builder.new(io)
builder = URI::Params::Builder.new(io)
query_hash.each do |name, values|
values.as(Array).each do |value|
builder.add(name.to_s, value.to_s)
Expand Down

0 comments on commit 990a765

Please sign in to comment.