Skip to content

Commit

Permalink
fix: avoid naming collision with helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachGrande committed Sep 24, 2024
1 parent f9a8bdf commit 5285931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/omniauth/strategies/microsoft_graph.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_access_token(request)
verifier = request.params['code']
redirect_uri = request.params['redirect_uri'] || request.params['callback_url']

log("[OAUTH DEBUG 2024-09-24] request.body.read: #{request.body.read}")
log_message("[OAUTH DEBUG 2024-09-24] request.body.read: #{request.body.read}")
request.body.rewind

if verifier && request.xhr?
Expand Down Expand Up @@ -136,7 +136,7 @@ def verify_email(auth_hash, access_token)
OmniAuth::MicrosoftGraph::DomainVerifier.verify!(auth_hash, access_token, options)
end

def log(message)
def log_message(message)
puts message
end
end
Expand Down

0 comments on commit 5285931

Please sign in to comment.