aboutsummaryrefslogtreecommitdiffstats
path: root/github3/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'github3/api.py')
-rw-r--r--github3/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/api.py b/github3/api.py
index 0a6915c..3c2e861 100644
--- a/github3/api.py
+++ b/github3/api.py
@@ -140,7 +140,7 @@ class Github(GithubCore):
def get_user(self, username):
"""Get a single user."""
- return self._get_resource(('users', username), User, authed=False)
+ return self._get_resource(('users', username), User)
def get_me(self):
@@ -153,7 +153,7 @@ class Github(GithubCore):
def get_repo(self, username, reponame):
"""Get the authenticated user."""
- return self._get_resource(('repos', username, reponame), Repo, authed=False)
+ return self._get_resource(('repos', username, reponame), Repo)