|
|
@@ -82,9 +82,7 @@ const generateProfiles = jobPosterIds => {
|
|
82
|
82
|
starting: config.batchSize * batchCount,
|
|
83
|
83
|
profile_id: extraProfileCount,
|
|
84
|
84
|
})
|
|
85
|
|
- profiles.forEach(profile => {
|
|
86
|
|
- profile.user_media = random.media()
|
|
87
|
|
- })
|
|
|
85
|
+
|
|
88
|
86
|
// Generate extra job posting profiles
|
|
89
|
87
|
// attributed to random user.is_poster === true
|
|
90
|
88
|
// TODO: Clean this up. Hard to read...
|
|
|
@@ -102,7 +100,6 @@ const generateProfiles = jobPosterIds => {
|
|
102
|
100
|
extras = [...extras, ...generatedExtraProfiles]
|
|
103
|
101
|
}
|
|
104
|
102
|
extras.forEach(profile => {
|
|
105
|
|
- profile.user_media = random.media()
|
|
106
|
103
|
profiles.push(profile)
|
|
107
|
104
|
extraProfileCount++
|
|
108
|
105
|
})
|