Skip to content

Commit

Permalink
rename movie_details to make more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
valknight committed May 12, 2019
1 parent 14532a2 commit 85c4387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtdd_api.py
Expand Up @@ -9,7 +9,7 @@ def dtdd_index():
return {"status": "You're probably wanting to make a request to /media/[movie name]"}

@app.route("/media/<key>", methods=['GET'])
def notes_detail(key):
def movie_details(key):
key = str(key)
to_return = get_info_for_movie(key)
if to_return == None:
Expand Down

0 comments on commit 85c4387

Please sign in to comment.