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

Commit

Permalink
Merge pull request #127 from AlexanderZagaynov/fixes
Browse files Browse the repository at this point in the history
avoid redundant redirects
  • Loading branch information
Fryguy authored Mar 25, 2019
2 parents c1c7106 + b9a2866 commit c0b7d6f
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 c0b7d6f

Please sign in to comment.