File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
const seedHelpers = require ( '../../helper/seed-helpers' ) ;
2
+ const { keys } = require ( 'lodash' ) ;
2
3
3
4
module . exports = ( seederstore ) => {
4
5
return {
@@ -14,20 +15,22 @@ module.exports = (seederstore) => {
14
15
timezone : 'Europe/Berlin' ,
15
16
avatar : '{{internet.avatar}}' ,
16
17
coverImg : 'https://source.unsplash.com/random/1250x280' ,
17
- badgeIds : ( ) => [ seedHelpers . randomItem ( seederstore . badges ) . _id ] ,
18
+ badgeIds : ( ) => [ keys ( seederstore . badges ) [ 0 ] ] ,
19
+ role : 'admin' ,
18
20
doiToken : null ,
19
21
confirmedAt : null ,
20
22
deletedAt : null
21
23
} ,
22
24
{
23
25
24
26
password : '1234' ,
25
- name : 'Greg ' ,
27
+ name : 'Hans ' ,
26
28
isnothere : true ,
27
29
timezone : 'Europe/Berlin' ,
28
- avatar : 'https://www.dropbox.com/s/svd9y6hkkgwkgoc/avatar.jpg?dl=1' ,
29
- coverImg : 'https://www.dropbox.com/s/vzv05ffc0nelra9/header.png?dl=1' ,
30
- badgeIds : [ ] ,
30
+ avatar : '{{internet.avatar}}' ,
31
+ coverImg : 'https://source.unsplash.com/random/1250x280' ,
32
+ role : 'moderator' ,
33
+ badgeIds : ( ) => [ keys ( seederstore . badges ) [ 1 ] ] ,
31
34
doiToken : null ,
32
35
confirmedAt : null ,
33
36
deletedAt : null
You can’t perform that action at this time.
0 commit comments