mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-13 22:38:00 +08:00
no longer need that quick fix for pagination
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user