Skip to content

Commit

Permalink
Update routes.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Rooyca authored Jun 6, 2024
1 parent f705f2b commit f508e05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ def get_user_markdown(request: Request, username: str):
# check if a file with username exists in repo
try:
response = requests.get(URL_REPO)
print(response)
data = response.json()
print(data)
for item in data:
if item.get("name") == f"{username}.md":
url = item.get("download_url")
Expand Down

0 comments on commit f508e05

Please sign in to comment.