{"size": 425, "ext": "js", "max_stars_repo_path": "catalog/src/controllers/product.js", "max_stars_repo_name": "apigee-127/phrixus", "max_stars_repo_stars_event_min_datetime": "2015-01-07T04:42:45.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-23T07:28:26.000Z", "max_issues_repo_path": "catalog/src/controllers/product.js", "max_issues_repo_name": "apigee-127/phrixus", "max_issues_repo_issues_event_min_datetime": "2017-06-01T13:38:18.000Z", "max_issues_repo_issues_event_max_datetime": "2017-06-02T05:59:24.000Z", "max_forks_repo_path": "catalog/src/controllers/product.js", "max_forks_repo_name": "apigee-127/phrixus", "max_forks_repo_forks_event_min_datetime": "2015-08-20T16:41:09.000Z", "max_forks_repo_forks_event_max_datetime": "2021-10-11T01:29:45.000Z"}
{"max_stars_count": 9, "max_issues_count": 1, "max_forks_count": 8, "avg_line_length": 26.5625, "max_line_length": 82, "alphanum_fraction": 0.7388235294}
'use strict';

var helpers = require('../helpers');
var models = require('../models');
var Product = models.Product;
var _ = require('lodash');
var commonController = _.bindAll(new helpers.common.usergrid.Controller(Product));

commonController.oldList = commonController.list;
commonController.list = function(req, res) {
  req.query.limit = 500;
  commonController.oldList(req, res);
};

module.exports = commonController;
