Skip to content

Commit

Permalink
fix: Restored previous behavior where the apply! method returns the a…
Browse files Browse the repository at this point in the history
…uth header (#506)
  • Loading branch information
lucasvianna authored Dec 17, 2024
1 parent e16b972 commit b10cda4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/googleauth/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def apply! a_hash, opts = {}
hash = Digest::SHA256.hexdigest token
Google::Logging::Message.from message: "Sending auth token. (sha256:#{hash})"
end

a_hash[AUTH_METADATA_KEY]
end

# Returns a clone of a_hash updated with the authentication token
Expand Down

0 comments on commit b10cda4

Please sign in to comment.