Skip to content

Commit

Permalink
chore: remove redundant _port parameter from setup https in graph API
Browse files Browse the repository at this point in the history
  • Loading branch information
moxvallix committed Mar 29, 2023
1 parent c0660f1 commit 479166f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/microsoft_graph_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def post_to_api(endpoint, headers = {}, body = '')

private

def setup_https(host, _port = API_PORT)
https = Net::HTTP.new(host, _port)
def setup_https(host)
https = Net::HTTP.new(host, API_PORT)
https.use_ssl = true
https
end
Expand Down

0 comments on commit 479166f

Please sign in to comment.