Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure single-tenant application support, using the Graph API #6728

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: remove redundant _port parameter from setup https in graph API
  • Loading branch information
moxvallix committed Mar 29, 2023
commit 479166fc17e7b448bc2e4ce53a23b47009b79770
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