We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d70d9 commit c5bc173Copy full SHA for c5bc173
lib/line/bot/client.rb
@@ -343,8 +343,7 @@ def get_follower_ids(start: nil, limit: nil)
343
params = { start: start, limit: limit }.compact
344
345
endpoint_path = "/bot/followers/ids"
346
- endpoint_path += "?" unless params.empty?
347
- endpoint_path += params.map { |key, value| "#{key}=#{value}" }.join("&")
+ endpoint_path += "?" + URI.encode_www_form(params) unless params.empty?
348
get(endpoint, endpoint_path, credentials)
349
end
350
0 commit comments