From 10deb5ce96a3d8a08be45e9470c2d457d5dc1628 Mon Sep 17 00:00:00 2001 From: Aaron Blankstein Date: Fri, 21 Apr 2017 17:12:03 -0400 Subject: [PATCH] no longer need that quick fix for pagination --- api/server.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/api/server.py b/api/server.py index a35e02e49..d7acf93ce 100644 --- a/api/server.py +++ b/api/server.py @@ -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('/', methods=['POST'])