Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
avoid redundant redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderZagaynov committed Mar 22, 2019
1 parent 5ec38ba commit b9a2866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible_tower_client/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def version
end

def verify_credentials
JSON.parse(get("me").body).fetch_path("results", 0, "username")
JSON.parse(get("me/").body).fetch_path("results", 0, "username")
end

def activity_stream
Expand Down

0 comments on commit b9a2866

Please sign in to comment.