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
Next Next commit
fix: setup https method in graph api class uses given port
  • Loading branch information
moxvallix committed Mar 22, 2023
commit 100395aa81b067d35f2b0af594f51fbe67bf6e4d
2 changes: 1 addition & 1 deletion lib/microsoft_graph_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def post_to_api(endpoint, headers = {}, body = '')
private

def setup_https(host, _port = API_PORT)
moxvallix marked this conversation as resolved.
Show resolved Hide resolved
https = Net::HTTP.new(host, API_PORT)
https = Net::HTTP.new(host, _port)
https.use_ssl = true
https
end
Expand Down