Skip to content

Commit 14b870c

Browse files
authored
Final QA tweak (#416)
1 parent 2659c1f commit 14b870c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

consuming-apis-python/github.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ def create_oauth_link():
3333
# website to input your credentials. Since you're doing this
3434
# programmatically, you need to get the `url` parameter and print it in
3535
# the console instead.
36-
url = response.url
37-
38-
return url
36+
return response.url
3937

4038

4139
# In this method you'll exchange the code you got from the GitHub API with

0 commit comments

Comments
 (0)