We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef336d3 commit 1a1ea10Copy full SHA for 1a1ea10
app/scripts/lib/webApiFaker.js
@@ -113,9 +113,7 @@ var distributed_random = function(min, max) {
113
*/
114
var linkGeneratedLists = function(companies, investors, categories) {
115
_.each(companies, function(company){
116
- var cat_id = exponential_distribution(0, categories.length);
117
- console.log(cat_id);
118
- var category = categories[cat_id];
+ var category = categories[exponential_distribution(0, categories.length)];
119
company.category_id = category.id;
120
category.company_ids.push(company.id);
121
0 commit comments