File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ SqlStore.prototype.populate = function(callback) {
8080 self . baseModel . sync ( ) . asCallback ( cb ) ;
8181 } ,
8282 function ( cb ) {
83- async . each ( self . relationArray , function ( model , ecb ) {
83+ async . eachSeries ( self . relationArray , function ( model , ecb ) {
8484 model . sync ( ) . asCallback ( ecb ) ;
8585 } , cb ) ;
8686 } ,
8787 function ( cb ) {
88- async . each ( self . resourceConfig . examples , function ( exampleJson , ecb ) {
88+ async . eachSeries ( self . resourceConfig . examples , function ( exampleJson , ecb ) {
8989 var validation = Joi . validate ( exampleJson , self . resourceConfig . attributes ) ;
9090 if ( validation . error ) return ecb ( validation . error ) ;
9191 self . create ( { request : { type : self . resourceConfig . resource } } , validation . value , ecb ) ;
Original file line number Diff line number Diff line change 3535 "blanket" : " 1.1.9" ,
3636 "coveralls" : " ^2.11.9" ,
3737 "eslint" : " ^2.11.0" ,
38- "jsonapi-server" : " ^1.15.0 " ,
38+ "jsonapi-server" : " ^1.15.4 " ,
3939 "mocha" : " ^2.5.3" ,
4040 "mocha-lcov-reporter" : " ^1.2.0" ,
4141 "mocha-performance" : " ^0.1.1" ,
You can’t perform that action at this time.
0 commit comments