File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -95,17 +95,17 @@ class MembersService {
9595 const groupIdsArray = _ . isArray ( groupIds ) ? groupIds : _ . split ( groupIds , ',' ) ;
9696 const groupIdChunks = _ . chunk ( groupIdsArray , 50 ) ;
9797
98- const getStatRequests = _ . map ( groupIdChunks , async groupIdChunk => {
98+ const getStatRequests = _ . map ( groupIdChunks , async ( groupIdChunk ) => {
9999 const res = await this . private . api . get ( `/members/${ handle } /stats?groupIds=${ _ . join ( groupIdChunk ) } ` ) ;
100100 return getApiResponsePayload ( res , false ) ;
101101 } ) ;
102102 const results = await Promise . all ( getStatRequests ) ;
103103
104104 return _ . uniqBy (
105105 _ . flatten (
106- _ . filter ( results , _ . isArray )
106+ _ . filter ( results , _ . isArray ) ,
107107 ) ,
108- item => item . groupId
108+ item => item . groupId ,
109109 ) ;
110110 }
111111
You can’t perform that action at this time.
0 commit comments