diff --git a/host.py b/host.py index 2ddb5a9..a8ebe6c 100644 --- a/host.py +++ b/host.py @@ -117,7 +117,7 @@ def ticket(): return data, returnCode @app.route("/mapstock") -def mapstock(): +def mapstock_process(): userId = request.args.get('userid') if userId is None or userId.isdigit() is False or len(str(userId)) != 8: return jsonify({"apiName": "mapstock", "apiInfo": "Save 99 Kilometers in Maps.", "apiUsage": "/mapstock?userid="}) @@ -166,7 +166,7 @@ def mapstock(): return data, returnCode @app.route("/unlock") -def unlock(): +def unlock_process(): userId = request.args.get('userid') if userId is None or userId.isdigit() is False or len(str(userId)) != 8: return jsonify({"apiName": "unlock", "apiInfo": "Unlock All DX Master Charts.", "apiUsage": "/unlock?userid="})