no longer need that quick fix for pagination

This commit is contained in:
Aaron Blankstein
2017-04-21 17:12:03 -04:00
parent 808c1585d2
commit 10deb5ce96

View File

@@ -120,14 +120,6 @@ def search_people():
def catch_all_get(path):
API_URL = BASE_API_URL + '/' + path
params = dict(request.args)
try:
if ("page" in params and len(params["page"]) > 0 and
int(params["page"][0]) >= 300):
return make_response(
jsonify({'error':
"no crawling the user list that high right now, sorry!"}), 403)
except:
pass
return forwarded_get(API_URL, params = params)
@app.route('/<path:path>', methods=['POST'])