Skip to content

Commit fca95f1

Browse files
committed
woops, misnamed the id parameter
1 parent 49fc60b commit fca95f1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deadWeb/dead.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ def drop():
8080
key = handler.drop(request.form["data"])
8181
return jsonify(id=key)
8282

83-
@app.route("/pickup/<id>")
83+
@app.route("/pickup/<drop_id>")
8484
def pickup_drop_index(drop_id):
8585
"""Load the pickup HTML"""
8686
return render_template('index.htm', id=drop_id)
8787

8888

89-
@app.route("/getdrop.php?id=<id>")
90-
@app.route("/drop/<id>")
89+
@app.route("/getdrop.php?id=<drop_id>")
90+
@app.route("/drop/<drop_id>")
9191
def pickup_drop_json(drop_id):
9292
"""Actually get the drop from the DB"""
9393
return_data = handler.pickup(drop_id)

0 commit comments

Comments
 (0)